mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
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
|
||||
* @package timesheet
|
||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
foreach(array(
|
||||
|
@ -118,5 +118,8 @@ function timesheet_upgrade1_9_001()
|
||||
|
||||
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';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user