Version 4.3.0
This commit is contained in:
1 parent
96997ddd8e
commit
fe1acf984a
1349 files changed
+116159
-67711
No files matched your search
@@ -66,7 +66,19 @@ if ( $application->long_version >= 40000 and !\IPS\NO_WRITES )
|
||||
if ( $plugin->enabled )
|
||||
{
|
||||
$plugin->enabled = FALSE;
|
||||
$plugin->save();
|
||||
|
||||
try
|
||||
{
|
||||
$plugin->save();
|
||||
}
|
||||
catch( \IPS\Db\Exception $e )
|
||||
{
|
||||
/* Column may be missing from a table, i.e. upgrading from an old version where set_cache_key doesn't exist */
|
||||
if( $e->getCode() != 1054 )
|
||||
{
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
$disabledPluginNames[] = $plugin->_title;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user