mirror of
https://github.com/e107inc/e107.git
synced 2025-07-26 01:11:28 +02:00
Fixes #3311 - Update routine.
This commit is contained in:
@@ -575,8 +575,8 @@ function update_core_database($type = '')
|
||||
{
|
||||
if ($type !== 'do') return update_needed('Media-Manager is missing the video and audio categories and needs to be updated.');
|
||||
|
||||
$sql->gen("INSERT INTO `".MPREFIX."core_media_cat` VALUES(0, '_common', '_common_video', '(Common Videos)', 'Media in this category will be available in all areas of admin. ', 253, '', 0);");
|
||||
$sql->gen("INSERT INTO `".MPREFIX."core_media_cat` VALUES(0, '_common', '_common_audio', '(Common Audio)', 'Media in this category will be available in all areas of admin. ', 253, '', 0);");
|
||||
$sql->gen("INSERT INTO `".MPREFIX."core_media_cat` VALUES(0, '_common', '_common_video', '(Common Videos)', '', 'Media in this category will be available in all areas of admin. ', 253, '', 0);");
|
||||
$sql->gen("INSERT INTO `".MPREFIX."core_media_cat` VALUES(0, '_common', '_common_audio', '(Common Audio)', '', 'Media in this category will be available in all areas of admin. ', 253, '', 0);");
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user