1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-06 03:49:56 +02:00

Update SQL default script with latest sql updates

This commit is contained in:
Afterster 2015-09-11 23:09:49 +02:00
parent b939e5ee27
commit fa8084d312
2 changed files with 6 additions and 4 deletions

View file

@ -3560,7 +3560,7 @@ class Update
"VALUES ('theme_color','dark','Theme color',0,'special','interface')";
$retval = Dba::write($sql) ? $retval : false;
$id = Dba::insert_id();
$sql = "INSERT INTO `user_preference` VALUES (-1,?,'0')";
$sql = "INSERT INTO `user_preference` VALUES (-1,?,'dark')";
$retval = Dba::write($sql, array($id)) ? $retval : false;
return $retval;