Update framework and javascript
This commit is contained in:
14
app/User.php
14
app/User.php
@@ -205,20 +205,6 @@ class User extends Authenticatable
|
||||
->filter();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the users language
|
||||
*
|
||||
* For non logged in users we need to populate with a default language
|
||||
* @param $value
|
||||
* @return mixed
|
||||
* @todo This doesnt appear to be used?
|
||||
*/
|
||||
public function getLanguageAttribute($value)
|
||||
{
|
||||
if (is_null($value))
|
||||
return config('SITE_SETUP')->language;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return a Carbon Date if it has a value.
|
||||
*
|
||||
|
Reference in New Issue
Block a user