Some more improvements
This commit is contained in:
@@ -22,7 +22,6 @@ require_once(__DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'a
|
||||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Core\Worker;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Util\Lock;
|
||||
|
||||
@@ -1030,6 +1029,18 @@ function get_max_import_size() {
|
||||
return ((x($a->config, 'max_import_size')) ? $a->config['max_import_size'] : 0 );
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief compatibilty wrapper for Worker::add function
|
||||
*
|
||||
* @param (integer|array) priority or parameter array, $cmd atrings are deprecated and are ignored
|
||||
*
|
||||
* @return boolean "false" if proc_run couldn't be executed
|
||||
*/
|
||||
function proc_run() {
|
||||
$proc_args = func_get_args();
|
||||
call_user_func_array('Friendica\Core\Worker::add', $proc_args);
|
||||
}
|
||||
|
||||
function current_theme() {
|
||||
$app_base_themes = array('duepuntozero', 'dispy', 'quattro');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user