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');
}
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());
}
}
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)