]> git.mxchange.org Git - friendica.git/blobdiff - boot.php
Remove library/fullcalendar and library/moment
[friendica.git] / boot.php
index 07bd61873545c77987a09a8e3119caf7981d45ed..98db95227fa096256643e355099b1c086bba852e 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -1,5 +1,4 @@
 <?php
-
 /** @file boot.php
  *
  * This file defines some global constants and includes the central App class.
@@ -25,6 +24,7 @@ use Friendica\Core\Addon;
 use Friendica\Core\System;
 use Friendica\Core\Cache;
 use Friendica\Core\Config;
+use Friendida\Core\L10n;
 use Friendica\Core\PConfig;
 use Friendica\Core\Worker;
 use Friendica\Database\DBM;
@@ -32,7 +32,6 @@ use Friendica\Model\Contact;
 use Friendica\Database\DBStructure;
 use Friendica\Module\Login;
 
-require_once 'include/network.php';
 require_once 'include/text.php';
 require_once 'include/datetime.php';
 
@@ -40,7 +39,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',      1245);
+define('DB_UPDATE_VERSION',      1247);
 define('NEW_UPDATE_ROUTINE_VERSION', 1170);
 
 /**
@@ -781,7 +780,7 @@ function run_update_function($x)
                        //send the administrator an e-mail
                        DBStructure::updateFail(
                                $x,
-                               sprintf(t('Update %s failed. See error logs.'), $x)
+                               L10n::t('Update %s failed. See error logs.', $x)
                        );
                        return false;
                } else {