mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 12:20:44 +02:00
Fixes #3311 2.1.8 > 2.1.9 notice.
This commit is contained in:
@@ -567,6 +567,7 @@ function update_core_database($type = '')
|
||||
function update_218_to_219($type='')
|
||||
{
|
||||
$sql = e107::getDb();
|
||||
$just_check = ($type == 'do') ? false : true;
|
||||
|
||||
// add common video and audio media categories if missing.
|
||||
$count = $sql->select("core_media_cat","*","media_cat_category = '_common_video' LIMIT 1 ");
|
||||
@@ -579,6 +580,8 @@ function update_core_database($type = '')
|
||||
}
|
||||
|
||||
|
||||
|
||||
return $just_check;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user