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:
parent
0781f08148
commit
07633ea249
7 changed files with 162 additions and 117 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue