X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FDiskCache%2FDiskCachePlugin.php;h=d021a6641aa7dba0e025ab6620b1e6307f68be17;hb=eaca17be58ddb446f687275f4a4b4685b1633545;hp=47d4b153cf6dff5335293516cea21a2e9d852cf5;hpb=8aa9c271dffe6ec6766b94486c0635c9db588db7;p=quix0rs-gnu-social.git diff --git a/plugins/DiskCache/DiskCachePlugin.php b/plugins/DiskCache/DiskCachePlugin.php index 47d4b153cf..d021a6641a 100644 --- a/plugins/DiskCache/DiskCachePlugin.php +++ b/plugins/DiskCache/DiskCachePlugin.php @@ -44,7 +44,6 @@ if (!defined('STATUSNET')) { * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ - class DiskCachePlugin extends Plugin { var $root = '/tmp'; @@ -64,7 +63,6 @@ class DiskCachePlugin extends Plugin * * @return boolean hook success */ - function onStartCacheGet(&$key, &$value) { $filename = $this->keyToFilename($key); @@ -91,7 +89,6 @@ class DiskCachePlugin extends Plugin * * @return boolean hook success */ - function onStartCacheSet(&$key, &$value, &$flag, &$expiry, &$success) { $filename = $this->keyToFilename($key); @@ -152,7 +149,6 @@ class DiskCachePlugin extends Plugin * * @return boolean hook success */ - function onStartCacheDelete(&$key, &$success) { $filename = $this->keyToFilename($key); @@ -172,6 +168,7 @@ class DiskCachePlugin extends Plugin 'author' => 'Evan Prodromou', 'homepage' => 'http://status.net/wiki/Plugin:DiskCache', 'rawdescription' => + // TRANS: Plugin description. _m('Plugin to implement cache interface with disk files.')); return true; }