Merge branch 'feature-12010/filter_for_bachelor_master' into feature-11001/zgv_ueberpruefung

This commit is contained in:
ma0048
2021-04-29 10:55:35 +02:00
9 changed files with 126 additions and 29 deletions
+12
View File
@@ -100,6 +100,18 @@ class VariableLib
return $result;
}
public function changeStudengangsTypVar($uid, $name, $change)
{
$result = error('error when setting variable!');
if (isEmptyString($uid) || isEmptyString($name) || isEmptyString($change))
return $result;
$result = $this->_ci->VariableModel->setVariable($uid, $name, $change);
$this->_setVariable($uid, $name);
return $result;
}
/**
* "Refreshes" variable value with given name by retrieving current value from db and saving it.
* @param $uid