From: <var...@us...> - 2021-08-17 16:44:59
|
Revision: 10526 http://sourceforge.net/p/phpwiki/code/10526 Author: vargenau Date: 2021-08-17 16:44:58 +0000 (Tue, 17 Aug 2021) Log Message: ----------- Remove "Optimizing database" E_USER_NOTICE Modified Paths: -------------- trunk/lib/WikiDB.php trunk/lib/main.php Modified: trunk/lib/WikiDB.php =================================================================== --- trunk/lib/WikiDB.php 2021-08-17 16:43:43 UTC (rev 10525) +++ trunk/lib/WikiDB.php 2021-08-17 16:44:58 UTC (rev 10526) @@ -1086,11 +1086,7 @@ or (DATABASE_OPTIMISE_FREQUENCY > 0 and (time() % DATABASE_OPTIMISE_FREQUENCY == 0)) ) { - if ($backend->optimize()) { - if ((int)DEBUG) { - trigger_error(_("Optimizing database"), E_USER_NOTICE); - } - } + $backend->optimize(); } /* Generate notification emails? */ Modified: trunk/lib/main.php =================================================================== --- trunk/lib/main.php 2021-08-17 16:43:43 UTC (rev 10525) +++ trunk/lib/main.php 2021-08-17 16:44:58 UTC (rev 10526) @@ -102,11 +102,7 @@ or (DATABASE_OPTIMISE_FREQUENCY > 0 and (time() % DATABASE_OPTIMISE_FREQUENCY == 0)) ) { - if ($this->_dbi->_backend->optimize()) { - if ((int)DEBUG) { - trigger_error(_("Optimizing database"), E_USER_NOTICE); - } - } + $this->_dbi->_backend->optimize(); } // Restore auth state. This doesn't check for proper authorization! This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |