diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-07-22 19:06:19 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-07-22 19:06:19 +0000 |
commit | 53195677b63c7373ea60bb302a51e2b9843f8e17 (patch) | |
tree | 7422de5be5a09d234ad16c06bff941856240a7eb /database/updates.inc | |
parent | 50dac6f6715d74bddce652a48208bfeaa91b5dd1 (diff) | |
download | brdo-53195677b63c7373ea60bb302a51e2b9843f8e17.tar.gz brdo-53195677b63c7373ea60bb302a51e2b9843f8e17.tar.bz2 |
- 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.
Diffstat (limited to 'database/updates.inc')
-rw-r--r-- | database/updates.inc | 11 |
1 files changed, 10 insertions, 1 deletions
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); |