CC-2225 airtime-clean-storage doesnt work

CC-2224 airtime-import checks if you can write to the stor directory even if you are linking

Had to rewrite the airtime-clean-storage script.
This commit is contained in:
Paul Baranowski 2011-04-25 16:48:34 -04:00
parent 0781f08148
commit 07633ea249
7 changed files with 162 additions and 117 deletions

View file

@ -113,6 +113,12 @@ class Playlist {
return TRUE;
}
public static function deleteAll()
{
global $CC_CONFIG, $CC_DBC;
$sql = 'DELETE FROM '.$CC_CONFIG["playListTable"];
$CC_DBC->query($sql);
}
/**
* Delete the file from all playlists.