From 53195677b63c7373ea60bb302a51e2b9843f8e17 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 22 Jul 2005 19:06:19 +0000 Subject: - Patch #24183 by drumm: remove unnecessary setting from upload module. Currently the upload module checks two max file sizes. First it checks a global option; if its too big it quits. Then it checks another max file size (or even sizes) related to the roles which a user is in. We can remove the global option since the individual roles are checked. --- database/updates.inc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'database') diff --git a/database/updates.inc b/database/updates.inc index e5f1846cc..fa63b67e2 100644 --- a/database/updates.inc +++ b/database/updates.inc @@ -116,7 +116,8 @@ $sql_updates = array( "2005-05-09" => "update_137", "2005-05-10" => "update_138", "2005-05-11" => "update_139", - "2005-05-12" => "update_140" + "2005-05-12" => "update_140", + "2005-05-22" => "update_141" ); function update_32() { @@ -2502,6 +2503,14 @@ function update_140() { return $ret; } +function update_141() { + $ret = array(); + + variable_del('upload_maxsize_total'); + + return $ret; +} + function update_sql($sql) { $edit = $_POST["edit"]; $result = db_query($sql); -- cgit v1.2.3