Extend timelimit when rebuilding from mod interface.

The rebuild_timelimit config option was not used anywhere since the mod
interface rewrite.
This commit is contained in:
Macil Tech 2012-07-24 11:51:59 -06:00
parent 67ab3760ba
commit 0092fc62ab

View File

@ -1406,6 +1406,8 @@ function mod_rebuild() {
error($config['error']['noaccess']); error($config['error']['noaccess']);
if (isset($_POST['rebuild'])) { if (isset($_POST['rebuild'])) {
set_time_limit($config['mod']['rebuild_timelimit']);
$log = array(); $log = array();
$boards = listBoards(); $boards = listBoards();
$rebuilt_scripts = array(); $rebuilt_scripts = array();