From 93bb63f06fc91b36a0bd4f53c493a33eaf9cc301 Mon Sep 17 00:00:00 2001 From: fmarier Date: Mon, 3 Dec 2007 23:14:47 +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 d290e969b90..b7601778fa4 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