mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Update temporary pref namespace
This commit is contained in:
@@ -266,7 +266,7 @@ class searchEngine_adapter_phrasea_engine extends searchEngine_adapter_abstract
|
||||
self::addQuery($query);
|
||||
self::query();
|
||||
} else {
|
||||
$this->total_available = $this->total_results = $this->app['session']->get('phrasea_engine_n_results');
|
||||
$this->total_available = $this->total_results = $this->app['session']->get('phraseanet.phrasea_engine_n_results');
|
||||
}
|
||||
|
||||
$results = new set_result();
|
||||
@@ -444,7 +444,7 @@ class searchEngine_adapter_phrasea_engine extends searchEngine_adapter_abstract
|
||||
|
||||
User_Adapter::saveQuery($this->app, $this->query);
|
||||
|
||||
$this->app['session']->set('phrasea_engine_n_results', $nbanswers);
|
||||
$this->app['session']->set('phraseanet.phrasea_engine_n_results', $nbanswers);
|
||||
|
||||
$this->total_available = $this->total_results = $nbanswers;
|
||||
|
||||
|
@@ -72,7 +72,7 @@ foreach ($baskets as $basket) {
|
||||
}
|
||||
|
||||
|
||||
if (in_array($app['session']->get('message'), array('1', null))) {
|
||||
if (in_array($app['session']->get('phraseanet.message'), array('1', null))) {
|
||||
if ($app['phraseanet.registry']->get('GV_maintenance')) {
|
||||
|
||||
$ret['message'] .= '<div>' . _('The application is going down for maintenance, please logout.') . '</div>';
|
||||
|
Reference in New Issue
Block a user