Merge pull request #3952 from christopherdarling/patch-1

FIX Renamed IMagickBackend to ImagicBackend
This commit is contained in:
Daniel Hensby 2015-03-02 10:40:45 +00:00
commit 50c4c387ae

View File

@ -42,14 +42,14 @@ class ImagickBackend extends Imagick implements Image_Backend {
/**
* set_default_quality
*
* @deprecated 3.2 Use the "IMagickBackend.default_quality" config setting instead
* @deprecated 3.2 Use the "ImagickBackend.default_quality" config setting instead
* @param int $quality
* @return void
*/
public static function set_default_quality($quality) {
Deprecation::notice('3.2', 'Use the "IMagickBackend.default_quality" config setting instead');
Deprecation::notice('3.2', 'Use the "ImagickBackend.default_quality" config setting instead');
if(is_numeric($quality) && (int) $quality >= 0 && (int) $quality <= 100) {
config::inst()->update('IMagickBackend', 'default_quality', (int) $quality);
Config::inst()->update('ImagickBackend', 'default_quality', (int) $quality);
}
}