From: Ilmari Karonen Date: Mon, 31 Aug 2009 14:01:04 +0000 (+0000) Subject: followup to r55694: forgot to mark the new functions private X-Git-Tag: 1.31.0-rc.0~39990 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=e4466b2e249d20596f02f3723e153e9fe61405a7;p=lhc%2Fweb%2Fwiklou.git followup to r55694: forgot to mark the new functions private --- diff --git a/maintenance/cleanupImages.php b/maintenance/cleanupImages.php index f303e6814b..96b1c5c0c3 100644 --- a/maintenance/cleanupImages.php +++ b/maintenance/cleanupImages.php @@ -101,11 +101,11 @@ class ImageCleanup extends TableCleanup { return $this->repo->getRootDirectory() . '/' . $this->repo->getHashPath( $name ) . $name; } - function imageExists( $name, $db ) { + private function imageExists( $name, $db ) { return $db->selectField( 'image', '1', array( 'img_name' => $name ), __METHOD__ ); } - function pageExists( $name, $db ) { + private function pageExists( $name, $db ) { return $db->selectField( 'page', '1', array( 'page_namespace' => NS_FILE, 'page_title' => $name ), __METHOD__ ); }