]> git.mxchange.org Git - friendica.git/blobdiff - boot.php
poller.php is cleaned up, unneeded stuff has been removed
[friendica.git] / boot.php
index 4e20058bcf837c8a29b30737728a43a58542fa68..402273bddf761187143a3b47260a1d56c815ab22 100644 (file)
--- 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)