public function set_updates_queue($params = false)
{
$params = parse_params($params);
$a = $this->app->user_manager->is_admin();
if ($a == false) {
mw_error('Must be admin!');
}
$queue = $params;
$c_id = $this->updates_queue_cache_id;
$cache_group = $this->updates_queue_cache_group;
$cache_content = $this->app->cache_manager->get($c_id, $cache_group);
if ($cache_content != false) {
$work = $cache_content;
} else {
$work = $params;
$this->app->cache_manager->save($work, $c_id, $cache_group);
}
}