From 69885093bfc841ba3cc216e42e69b16045ce3675 Mon Sep 17 00:00:00 2001 From: fmarier <fmarier> Date: Mon, 3 Dec 2007 23:20:03 +0000 Subject: [PATCH] ddllib: Mark table_column() as deprecated Signed-off-by: Eloy Lafuente --- lib/ddllib.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/ddllib.php b/lib/ddllib.php index 9df026e58d..3538de89e3 100644 --- a/lib/ddllib.php +++ b/lib/ddllib.php @@ -65,6 +65,10 @@ require_once($CFG->libdir . '/xmlize.php'); /** * Add a new field to a table, or modify an existing one (if oldfield is defined). + * + * WARNING: This function is deprecated and will be removed in future versions. + * Please use XMLDB (see http://docs.moodle.org/en/Development:DDL_functions ). + * * Warning: Please be careful on primary keys, as this function will eat auto_increments * * @uses $CFG -- 2.39.5