Remove Zend

This commit is contained in:
Vasily Komrakov 2017-01-26 22:26:32 +03:00
commit 3e161065f3
No known key found for this signature in database
GPG key ID: 558236680C20A69A
2494 changed files with 7 additions and 298818 deletions

View file

@ -30,7 +30,7 @@ if (!defined('IN_AJAX')) {
global $bf, $lang;
$user_id = (int)$this->request['user_id'];
$new_opt = Zend\Json\Json::decode($this->request['user_opt'], Zend\Json\Json::TYPE_ARRAY);
$new_opt = json_decode($this->request['user_opt'], true);
if (!$user_id or !$u_data = get_userdata($user_id)) {
$this->ajax_die('invalid user_id');