MDL-82183 core: Update namespace of moved output classes
This commit is contained in:
@@ -14,6 +14,12 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
namespace core_table;
|
||||
|
||||
use flexible_table;
|
||||
use moodle_recordset;
|
||||
use stdClass;
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
global $CFG;
|
||||
@@ -27,8 +33,7 @@ require_once("{$CFG->libdir}/tablelib.php");
|
||||
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
class table_sql extends flexible_table {
|
||||
|
||||
class sql_table extends flexible_table {
|
||||
public $countsql = NULL;
|
||||
public $countparams = NULL;
|
||||
/**
|
||||
@@ -203,3 +208,8 @@ class table_sql extends flexible_table {
|
||||
$this->finish_output();
|
||||
}
|
||||
}
|
||||
|
||||
// Alias this class to the old name.
|
||||
// This file will be autoloaded by the legacyclasses autoload system.
|
||||
// In future all uses of this class will be corrected and the legacy references will be removed.
|
||||
class_alias(sql_table::class, \table_sql::class);
|
||||
|
||||
Reference in New Issue
Block a user