* directories, in case the user has not configured offline storage
*
* @param $dir string
+ * @return void
*/
protected function initDeletedDir( $dir ) {
$this->backend->secure( // prevent web access & dir listings
* Each file can be a (zone, rel) pair, virtual url, storage path, or FS path.
* It will try to delete each file, but ignores any errors that may occur.
*
- * @param $files array List of files to delete
+ * @param $pairs array List of files to delete
+ * @return void
*/
public function cleanupBatch( $files ) {
$operations = array();
* May use either the database or the filesystem.
*
* @param $callback Array|string
+ * @return void
*/
public function enumFiles( $callback ) {
$this->enumFilesInStorage( $callback );
* May use either the database or the filesystem.
*
* @param $callback Array|string
+ * @return void
*/
protected function enumFilesInStorage( $callback ) {
$publicRoot = $this->getZonePath( 'public' );