]> git.mxchange.org Git - friendica.git/blobdiff - update.php
Removed notices that revealed themselfes over night ... (#5645)
[friendica.git] / update.php
index 812f81faf2f69fb711735991947cb838f19d5223..56f285f2df9037f8f2dc405258f7bd51f495554b 100644 (file)
@@ -246,15 +246,3 @@ function update_1278() {
 
        return UPDATE_SUCCESS;
 }
-
-function update_1278() {
-       Config::set('system', 'maintenance', 1);
-       Config::set('system', 'maintenance_reason', L10n::t('%s: Updating post-type.', DBM::date().' '.date('e')));
-
-       Item::update(['post-type' => Item::PT_PAGE], ['bookmark' => true]);
-       Item::update(['post-type' => Item::PT_PERSONAL_NOTE], ['type' => 'note']);
-
-       Config::set('system', 'maintenance', 0);
-
-       return UPDATE_SUCCESS;
-}