X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FAPC%2FAPCPlugin.php;h=851a4b4abce449486fd4fa71c7abc5dba2e1c82a;hb=9948523c33ea0d02681ff1e0cd4fcb839dc9df96;hp=0069779004e3ca1f131149b8d660f7076ea45e7a;hpb=42dd460d3b9aa9a8ad147d00de9b6c8e209ab4e9;p=quix0rs-gnu-social.git diff --git a/plugins/APC/APCPlugin.php b/plugins/APC/APCPlugin.php index 0069779004..851a4b4abc 100644 --- a/plugins/APC/APCPlugin.php +++ b/plugins/APC/APCPlugin.php @@ -60,7 +60,6 @@ class APCPlugin extends Plugin * * @return boolean hook success */ - function onStartCacheGet(&$key, &$value) { $value = apc_fetch($key); @@ -79,7 +78,6 @@ class APCPlugin extends Plugin * * @return boolean hook success */ - function onStartCacheSet(&$key, &$value, &$flag, &$expiry, &$success) { $success = apc_store($key, $value, ((is_null($expiry)) ? 0 : $expiry)); @@ -97,7 +95,6 @@ class APCPlugin extends Plugin * * @return boolean hook success */ - function onStartCacheDelete(&$key, &$success) { $success = apc_delete($key); @@ -112,6 +109,7 @@ class APCPlugin extends Plugin 'author' => 'Evan Prodromou', 'homepage' => 'http://status.net/wiki/Plugin:APC', 'rawdescription' => + // TRANS: Plugin description. _m('Use the APC variable cache to cache query results.')); return true; }