forked from GNUsocial/gnu-social
Translator documentation added.
Whitespace updates.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user