X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=boot.php;h=402273bddf761187143a3b47260a1d56c815ab22;hb=01362461cf7e1d9268338d1e06c8db77f3aa56bc;hp=4e20058bcf837c8a29b30737728a43a58542fa68;hpb=06c3af9b60c99b86424c9f9626f976bcf1bf5b5e;p=friendica.git diff --git a/boot.php b/boot.php index 4e20058bcf..402273bddf 100644 --- a/boot.php +++ b/boot.php @@ -39,7 +39,6 @@ require_once 'include/features.php'; require_once 'include/identity.php'; require_once 'update.php'; require_once 'include/dbstructure.php'; -require_once 'include/poller.php'; define('FRIENDICA_PLATFORM', 'Friendica'); define('FRIENDICA_CODENAME', 'Asparagus'); @@ -630,7 +629,7 @@ function check_db($via_worker) } if ($build != DB_UPDATE_VERSION) { // When we cannot execute the database update via the worker, we will do it directly - if (!Worker::add(PRIORITY_CRITICAL, 'dbupdate') && $via_worker) { + if (!Worker::add(PRIORITY_CRITICAL, 'DBUpdate') && $via_worker) { update_db(get_app()); } } @@ -1527,15 +1526,6 @@ function get_spoolpath() return ""; } -/// @deprecated -function set_template_engine(App $a, $engine = 'internal') -{ - /// @note This function is no longer necessary, but keep it as a wrapper to the class method - /// to avoid breaking themes again unnecessarily - /// @TODO maybe output a warning here so the theme developer can see it? PHP won't show such warnings like Java does. - - $a->set_template_engine($engine); -} if (!function_exists('exif_imagetype')) { function exif_imagetype($file)