Version 4.7.0
This commit is contained in:
1 parent
517a5e1f70
commit
8ba7d43898
1933 files changed
+65613
-11332
No files matched your search
@@ -107,11 +107,11 @@ class _Upgrade
|
||||
public function step2()
|
||||
{
|
||||
\IPS\Db::i()->replace( 'core_ratings',
|
||||
\IPS\Db::i()->select( "NULL, 'IPS\\gallery\\Image', rate_type_id, rate_member_id, rate_rate, ''", 'gallery_ratings', array( 'rate_type=?', 'image' ) )
|
||||
\IPS\Db::i()->select( "NULL, 'IPS\\gallery\\Image', rate_type_id, rate_member_id, rate_rate, '', rate_date", 'gallery_ratings', array( 'rate_type=?', 'image' ) )
|
||||
);
|
||||
|
||||
\IPS\Db::i()->replace( 'core_ratings',
|
||||
\IPS\Db::i()->select( "NULL, 'IPS\\gallery\\Album', rate_type_id, rate_member_id, rate_rate, ''", 'gallery_ratings', array( 'rate_type=?', 'album' ) )
|
||||
\IPS\Db::i()->select( "NULL, 'IPS\\gallery\\Album', rate_type_id, rate_member_id, rate_rate, '', rate_date", 'gallery_ratings', array( 'rate_type=?', 'album' ) )
|
||||
);
|
||||
|
||||
\IPS\Db::i()->dropTable( 'gallery_ratings', TRUE );
|
||||
|
||||
Reference in new issue
Block a user