mirror of
https://github.com/e107inc/e107.git
synced 2025-07-23 16:01:39 +02:00
Forum upgrade fix.
This commit is contained in:
@@ -80,7 +80,7 @@ class forum_setup
|
||||
|
||||
$sql = e107::getDb();
|
||||
|
||||
if(!$sql->isTable('forum_t')) // no table, so run a default plugin install procedure.
|
||||
if(!$sql->isTable('forum_t') || !$sql->isEmpty('forum_thread')) // no table, so run a default plugin install procedure.
|
||||
{
|
||||
return false;
|
||||
// e107::getSingleton('e107plugin')->refresh('forum');
|
||||
|
Reference in New Issue
Block a user