1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-17 07:46:29 +02:00

Prevent theme "default content" notification during upgrade.

This commit is contained in:
Cameron
2013-04-14 20:18:23 -07:00
parent 4276b58dc9
commit 00fc492838
2 changed files with 6 additions and 4 deletions

View File

@@ -1337,7 +1337,7 @@ class themeHandler
* @param string $name [optional] name (folder) of the theme to set.
* @return boolean TRUE on success, FALSE otherwise
*/
function setTheme($name = '')
function setTheme($name = '', $contentCheck = true)
{
$core = e107::getConfig('core');
$sql = e107::getDb();
@@ -1376,8 +1376,10 @@ class themeHandler
$this->installContentCheck($name);
if($contentCheck === true)
{
$this->installContentCheck($name);
}
$this->theme_adminlog('01', $name.', style.css');