Merge "[FileBackend] Added 'recursive' flag to directory clean() function."
[lhc/web/wiklou.git] / includes / cache / LinkBatch.php
index 17e8739..ab33dcf 100644 (file)
@@ -45,6 +45,11 @@ class LinkBatch {
                }
        }
 
+       /**
+        * @param $ns int
+        * @param $dbkey string
+        * @return mixed
+        */
        public function add( $ns, $dbkey ) {
                if ( $ns < 0 ) {
                        return;
@@ -190,7 +195,7 @@ class LinkBatch {
                }
 
                $genderCache = GenderCache::singleton();
-               $genderCache->dolinkBatch( $this->data, $this->caller );
+               $genderCache->doLinkBatch( $this->data, $this->caller );
                return true;
        }