forked from extern/egroupware
switch history / delete prevention on, like for new installs, so only admins can finally delete timesheets
This commit is contained in:
parent
2681b2cee2
commit
68ea2c08c1
@ -6,6 +6,7 @@
|
|||||||
* @author Nathan Gray
|
* @author Nathan Gray
|
||||||
* @package timesheet
|
* @package timesheet
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||||
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
foreach(array(
|
foreach(array(
|
||||||
|
@ -118,5 +118,8 @@ function timesheet_upgrade1_9_001()
|
|||||||
|
|
||||||
function timesheet_upgrade1_9_002()
|
function timesheet_upgrade1_9_002()
|
||||||
{
|
{
|
||||||
|
// switch history / delete prevention on, like for new installs, so only admins can finally delete timesheets
|
||||||
|
config::save_value('history', 'history', 'timesheet');
|
||||||
|
|
||||||
return $GLOBALS['setup_info']['timesheet']['currentver'] = '14.1';
|
return $GLOBALS['setup_info']['timesheet']['currentver'] = '14.1';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user