diff --git a/filesystem/GD.php b/filesystem/GD.php index 04cd58431..92393ae6a 100644 --- a/filesystem/GD.php +++ b/filesystem/GD.php @@ -459,4 +459,17 @@ class GDBackend extends Object implements Image_Backend { } } -class_alias("GDBackend", "GD"); + +/** + * Backwards compatibility + */ +class GD extends GDBackend { + public static function set_default_quality($quality) { + Deprecation::notice( + '3.1', + 'GDBackend::set_default_quality instead', + Deprecation::SCOPE_CLASS + ); + GDBackend::set_default_quality($quality); + } +} \ No newline at end of file