Set intro.blocked to deprecated
This commit is contained in:
10
update.php
10
update.php
@@ -1039,7 +1039,7 @@ function update_1440()
|
||||
return Update::SUCCESS;
|
||||
}
|
||||
|
||||
function update__1441()
|
||||
function update_1441()
|
||||
{
|
||||
$languages = DI::l10n()->getAvailableLanguages();
|
||||
|
||||
@@ -1053,3 +1053,11 @@ function update__1441()
|
||||
|
||||
return Update::SUCCESS;
|
||||
}
|
||||
|
||||
function update_1442()
|
||||
{
|
||||
// transform blocked intros into ignored intros
|
||||
DBA::update('intro', ['ignore' => 1, 'blocked' => 0], ['blocked' => 1]);
|
||||
|
||||
return Update::SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user