Skip to content

Commit fa1c26f

Browse files
author
cfoe
committed
removed deprecated code from interface_settings
1 parent ae6d914 commit fa1c26f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

interface/web/tools/interface_settings.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,7 @@ function onBeforeUpdate() {
9090
global $app, $conf;
9191

9292
if($conf['demo_mode'] == true && $this->id <= 3) $app->tform->errorMessage .= 'This function is disabled in demo mode.';
93-
94-
$_SESSION['s']['user']['language'] = $_POST['language'];
95-
$_SESSION['s']['language'] = $_POST['language'];
96-
93+
9794
if(@is_array($this->dataRecord['modules']) && !in_array($this->dataRecord['startmodule'],$this->dataRecord['modules'])) {
9895
$app->tform->errorMessage .= $app->tform->wordbook['startmodule_err'];
9996
}

0 commit comments

Comments
 (0)