Index: trunk/phase3/maintenance/cleanupImages.php |
— | — | @@ -101,11 +101,11 @@ |
102 | 102 | return $this->repo->getRootDirectory() . '/' . $this->repo->getHashPath( $name ) . $name; |
103 | 103 | } |
104 | 104 | |
105 | | - function imageExists( $name, $db ) { |
| 105 | + private function imageExists( $name, $db ) { |
106 | 106 | return $db->selectField( 'image', '1', array( 'img_name' => $name ), __METHOD__ ); |
107 | 107 | } |
108 | 108 | |
109 | | - function pageExists( $name, $db ) { |
| 109 | + private function pageExists( $name, $db ) { |
110 | 110 | return $db->selectField( 'page', '1', array( 'page_namespace' => NS_FILE, 'page_title' => $name ), __METHOD__ ); |
111 | 111 | } |
112 | 112 | |