Index: trunk/phase3/maintenance/dumpUploads.php |
— | — | @@ -64,10 +64,9 @@ |
65 | 65 | } |
66 | 66 | |
67 | 67 | /** |
68 | | - * Fetch a list of all or used images from a particular image source. |
69 | | - * @param string $table |
70 | | - * @param string $directory Base directory where files are located |
71 | | - * @param bool $shared true to pass shared-dir settings to hash func |
| 68 | + * Fetch a list of used images from a particular image source. |
| 69 | + * |
| 70 | + * @param $shared Boolean: true to pass shared-dir settings to hash func |
72 | 71 | */ |
73 | 72 | function fetchUsed( $shared ) { |
74 | 73 | $dbr = wfGetDB( DB_SLAVE ); |
— | — | @@ -86,6 +85,11 @@ |
87 | 86 | $dbr->freeResult( $result ); |
88 | 87 | } |
89 | 88 | |
| 89 | + /** |
| 90 | + * Fetch a list of all images from a particular image source. |
| 91 | + * |
| 92 | + * @param $shared Boolean: true to pass shared-dir settings to hash func |
| 93 | + */ |
90 | 94 | function fetchLocal( $shared ) { |
91 | 95 | $dbr = wfGetDB( DB_SLAVE ); |
92 | 96 | $result = $dbr->select( 'image', |