Ignore:
Timestamp:
May 2, 2016, 12:09:23 PM (3 years ago)
Author:
jrpelegrina
Message:

Updated to moodle 3.0.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • moodle/trunk/fuentes/lib/editor/tinymce/plugins/spellchecker/classes/utils/JSON.php

    r136 r1331  
    3030        var $_needProp;
    3131
    32         function Moxiecode_JSONReader($data) {
     32        public function __construct($data) {
    3333                $this->_data = $data;
    3434                $this->_len = strlen($data);
     
    3838                $this->_needProp = false;
    3939        }
     40
     41    /**
     42     * Old syntax of class constructor. Deprecated in PHP7.
     43     */
     44    public function Moxiecode_JSONReader($data) {
     45        self::__construct($data);
     46    }
    4047
    4148        function getToken() {
     
    361368 */
    362369class Moxiecode_JSON {
    363         function Moxiecode_JSON() {
    364         }
     370        public function __construct() {
     371        }
     372
     373    /**
     374     * Old syntax of class constructor. Deprecated in PHP7.
     375     */
     376    public function Moxiecode_JSON() {
     377        self::__construct();
     378    }
    365379
    366380        function decode($input) {
Note: See TracChangeset for help on using the changeset viewer.