]> git.mxchange.org Git - friendica.git/blobdiff - boot.php
Merge pull request #4100 from Rudloff/feature/composer
[friendica.git] / boot.php
index bfdf7db84d659d8801509fef9bc679d1056cb4d5..00058727f50142907da991b1698caae48e209286 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -43,7 +43,7 @@ define('FRIENDICA_PLATFORM',     'Friendica');
 define('FRIENDICA_CODENAME',     'Asparagus');
 define('FRIENDICA_VERSION',      '3.6-dev');
 define('DFRN_PROTOCOL_VERSION',  '2.23');
-define('DB_UPDATE_VERSION',      1236);
+define('DB_UPDATE_VERSION',      1237);
 define('NEW_UPDATE_ROUTINE_VERSION', 1170);
 
 /**
@@ -524,6 +524,8 @@ function startup()
  * @brief Retrieve the App structure
  *
  * Useful in functions which require it but don't get it passed to them
+ *
+ * @return App
  */
 function get_app()
 {
@@ -702,7 +704,7 @@ function update_db(App $a)
 
                                // run new update routine
                                // it update the structure in one call
-                               $retval = DBStructure::updateStructure(false, true);
+                               $retval = DBStructure::update(false, true);
                                if ($retval) {
                                        DBStructure::updateFail(
                                                DB_UPDATE_VERSION,