Version 4.6.0
This commit is contained in:
1 parent
f79dcf067a
commit
517a5e1f70
2036 files changed
+110041
-26162
No files matched your search
@@ -35,8 +35,7 @@ class _Upgrade
|
||||
if ( $count = \IPS\Db::i()->select( 'COUNT(*)', 'core_acp_notifications', array( 'app=? AND ext=?', 'core', $k ) )->first() )
|
||||
{
|
||||
$sent = \IPS\Db::i()->select( 'MAX(sent)', 'core_acp_notifications', array( 'app=? AND ext=?', 'core', $k ) )->first();
|
||||
|
||||
\IPS\Db::i()->delete( 'core_acp_notifcations_dismissals', array( \IPS\Db::i()->in( 'notification', \IPS\Db::i()->select( 'id', 'core_acp_notifications', array( 'app=? AND ext=?', 'core', $k ) ) ) ) );
|
||||
\IPS\Db::i()->delete( 'core_acp_notifcations_dismissals', array('notification IN(?)', \IPS\Db::i()->select( 'id', 'core_acp_notifications', array( 'app=? AND ext=?', 'core', $k ) ) ) );
|
||||
\IPS\Db::i()->delete( 'core_acp_notifications', array( 'app=? AND ext=?', 'core', $k ) );
|
||||
|
||||
\IPS\Db::i()->insert( 'core_acp_notifications', array(
|
||||
|
||||
Reference in new issue
Block a user