summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-08-15 17:12:58 +0300
committerAndrew Dolgov <[email protected]>2019-08-15 17:12:58 +0300
commitd8942eceafbe424c8aa057defed02859f39e1a8f (patch)
treec8ebc315b9ec407d4afbe9f72b5c261cfad7e52f
parent1937049b8e51b49e5e2665eab779454480e3b70b (diff)
fix several leftover mentions of old (renamed) class name, duh
-rw-r--r--init.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.php b/init.php
index 38b0785..d4b9338 100644
--- a/init.php
+++ b/init.php
@@ -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;
}
}