diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2009-08-31 14:57:04 +0000 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2009-08-31 14:57:04 +0000 |
| commit | 139f1d35302fc675b5e972e55c62d36cbc42af5c (patch) | |
| tree | 9618453f34cafc260fbb26883f9a51d01bc072d2 /phpBB/install/database_update.php | |
| parent | d7925595dc46c1d913dd722b2121d4552c20cb47 (diff) | |
| download | forums-139f1d35302fc675b5e972e55c62d36cbc42af5c.tar forums-139f1d35302fc675b5e972e55c62d36cbc42af5c.tar.gz forums-139f1d35302fc675b5e972e55c62d36cbc42af5c.tar.bz2 forums-139f1d35302fc675b5e972e55c62d36cbc42af5c.tar.xz forums-139f1d35302fc675b5e972e55c62d36cbc42af5c.zip | |
fix r10076 for #48615 - Ability to specify amount of time user is able to delete his last post in topic.
Authorised by: AcydBurn
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10080 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/database_update.php')
| -rw-r--r-- | phpBB/install/database_update.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php index d489521a20..48dd55ac72 100644 --- a/phpBB/install/database_update.php +++ b/phpBB/install/database_update.php @@ -1498,6 +1498,11 @@ function change_database_data(&$no_updates, $version) _sql($sql, $errored, $error_ary); } + if (!isset($config['delete_time'])) + { + set_config('delete_time', $config['edit_time']); + } + $no_updates = false; break; } |
