diff --git a/cross/cross_class.php b/cross/cross_class.php index 352d330..c41d595 100755 --- a/cross/cross_class.php +++ b/cross/cross_class.php @@ -135,7 +135,7 @@ class Cross } $this->computepuzzleinfo( $this->m_best_N20, $this->m_best_cross_pos, $this->m_best_cross_dir, $this->m_best_cross_word, false); - set_time_limit( 30); + //set_time_limit( 30); return $this->savepuzzle( $crossm, $crossd, $ctries, time()-$t1); } diff --git a/sudoku/create.php b/sudoku/create.php index 7022db8..7092736 100755 --- a/sudoku/create.php +++ b/sudoku/create.php @@ -51,7 +51,7 @@ function AppendSudokuB() for( $i=1; $i <= $count; $i++) { - set_time_limit( 30); + //set_time_limit( 30); Create( $si, $sp, $level); $newrec->data = PackSudoku( $si, $sp); @@ -104,7 +104,7 @@ function create( &$si, &$sp, $level=1) { for( $i=1; $i <= 40; $i++) { - set_time_limit( 30); + //set_time_limit( 30); $sp = new Sudoku() ; $theInitialPosition = $sp->generatePuzzle( 10, 50, $level) ; if( count( $theInitialPosition)){ diff --git a/version.php b/version.php index d79b963..e6fcd41 100755 --- a/version.php +++ b/version.php @@ -11,7 +11,7 @@ defined('MOODLE_INTERNAL') || die(); $module->component = 'mod_game'; // Full name of the plugin (used for diagnostics) -$module->version = 2013120201; // The current module version (Date: YYYYMMDDXX) +$module->version = 2013120202; // The current module version (Date: YYYYMMDDXX) $module->requires = 2010112400; // Requires Moodle 2.0 $module->cron = 0; // Period for cron to check this module (secs) -$module->release = '3.12.2.1'; +$module->release = '3.12.2.2';