X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=update.php;h=41b6fa96f2eb18c687393269591d5738b57e2f1a;hb=5b74f066f2ac6334be3f46f449b4525334c7423a;hp=439dd04bd5eba63cf837626f5fa0eeddad99e33b;hpb=87f3fe24f7008dd1460cec1abd3ea7f3ae16679f;p=friendica.git diff --git a/update.php b/update.php index 439dd04bd5..41b6fa96f2 100644 --- a/update.php +++ b/update.php @@ -21,7 +21,7 @@ require_once 'include/dba.php'; * This function is responsible for doing post update changes to the data * (not the structure) in the database. * - * Database structure changes are done in config/dbstructure.php + * Database structure changes are done in config/dbstructure.config.php * * If there is a need for a post process to a structure change, update this file * by adding a new function at the end with the number of the new DB_UPDATE_VERSION. @@ -33,7 +33,7 @@ require_once 'include/dba.php'; * * 1. Create a function "update_4712()" here in the update.php * 2. Apply the needed structural changes in config/dbStructure.php - * 3. Set DB_UPDATE_VERSION in config/dbstructure.php to 4712. + * 3. Set DB_UPDATE_VERSION in config/dbstructure.config.php to 4712. * * If you need to run a script before the database update, name the function "pre_update_4712()" */ @@ -254,5 +254,5 @@ function update_1288() { DBA::e("UPDATE `item-activity` INNER JOIN `item` ON `item`.`iaid` = `item-activity`.`id` SET `item-activity`.`uri-id` = `item`.`uri-id` WHERE `item-activity`.`uri-id` IS NULL OR `item-activity`.`uri-id` = 0"); DBA::e("UPDATE `item-content` INNER JOIN `item` ON `item`.`icid` = `item-content`.`id` SET `item-content`.`uri-id` = `item`.`uri-id` WHERE `item-content`.`uri-id` IS NULL OR `item-content`.`uri-id` = 0"); - return UPDATE_SUCCESS; + return Update::SUCCESS; }