mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 11:33:17 +00:00
Add dedicated route for user preferences
This commit is contained in:
@@ -1487,9 +1487,10 @@ class User_Adapter implements User_Interface, cache_cacheableInterface
|
||||
{
|
||||
$this->load_preferences();
|
||||
if (isset($this->_prefs[$prop]) && $this->_prefs[$prop] === $value)
|
||||
|
||||
return $value;
|
||||
|
||||
{
|
||||
return $this->_prefs[$prop];
|
||||
}
|
||||
|
||||
$ok = true;
|
||||
|
||||
if (isset(self::$available_values[$prop]))
|
||||
|
Reference in New Issue
Block a user