diff options
author | Andrew Dolgov <[email protected]> | 2019-08-15 17:12:58 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-08-15 17:12:58 +0300 |
commit | d8942eceafbe424c8aa057defed02859f39e1a8f (patch) | |
tree | c8ebc315b9ec407d4afbe9f72b5c261cfad7e52f | |
parent | 1937049b8e51b49e5e2665eab779454480e3b70b (diff) |
fix several leftover mentions of old (renamed) class name, duh
-rw-r--r-- | init.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -112,8 +112,8 @@ class Api_Resize_Media extends Plugin { return; } - if ($width > Af_Zz_Api_Resize::MAX_WIDTH) - $width = Af_Zz_Api_Resize::MAX_WIDTH; + if ($width > Api_Resize_Media::MAX_WIDTH) + $width = Api_Resize_Media::MAX_WIDTH; if ($this->cache->exists($local_filename)) { @@ -215,7 +215,7 @@ class Api_Resize_Media extends Plugin { return $this->cache->getUrl($local_filename); } else { if ($this->cache->touch(sha1($url) . ".flag")) { - return get_self_url_prefix() . "/public.php?op=pluginhandler&plugin=af_zz_api_resize&pmethod=api_resize&url=" . + return get_self_url_prefix() . "/public.php?op=pluginhandler&plugin=api_resize_media&pmethod=api_resize&url=" . urlencode($url) . "&width=" . $width . "&force_stamp=" . $force_stamp; } } |