]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Memcached/MemcachedPlugin.php
Don't get crud for Notice::repeatStream()
[quix0rs-gnu-social.git] / plugins / Memcached / MemcachedPlugin.php
index 77b989b9512a8de6f6598525382b00d37d9ccb4c..56793d0ff6b4dc5c054f0d806371e3bf191a77de 100644 (file)
@@ -52,7 +52,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 MemcachedPlugin extends Plugin
 {
     static $cacheInitialized = false;
@@ -69,7 +68,6 @@ class MemcachedPlugin extends Plugin
      *
      * @return boolean flag value
      */
-
     function onInitializePlugin()
     {
         $this->_ensureConn();
@@ -87,7 +85,6 @@ class MemcachedPlugin extends Plugin
      *
      * @return boolean hook success
      */
-
     function onStartCacheGet(&$key, &$value)
     {
         $this->_ensureConn();
@@ -107,7 +104,6 @@ class MemcachedPlugin extends Plugin
      *
      * @return boolean hook success
      */
-
     function onStartCacheSet(&$key, &$value, &$flag, &$expiry, &$success)
     {
         $this->_ensureConn();
@@ -146,7 +142,6 @@ class MemcachedPlugin extends Plugin
      *
      * @return boolean hook success
      */
-
     function onStartCacheDelete(&$key, &$success)
     {
         $this->_ensureConn();
@@ -169,7 +164,6 @@ class MemcachedPlugin extends Plugin
      *
      * @return void
      */
-
     private function _ensureConn()
     {
         if (empty($this->_conn)) {
@@ -220,8 +214,8 @@ class MemcachedPlugin extends Plugin
                             'author' => 'Evan Prodromou, Craig Andrews',
                             'homepage' => 'http://status.net/wiki/Plugin:Memcached',
                             'rawdescription' =>
+                            // TRANS: Plugin description.
                             _m('Use <a href="http://memcached.org/">Memcached</a> to cache query results.'));
         return true;
     }
 }
-