Subversion-Projekte lars-tiefland.ci

Revision

Revision 1077 | Revision 1082 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 1077 Revision 1079
Zeile 3... Zeile 3...
3
/**
3
/**
4
 *
4
 *
5
 * @package WebanOS CI
5
 * @package WebanOS CI
6
 * @author Lars Tiefland <ltiefland@gmail.com> 
6
 * @author Lars Tiefland <ltiefland@gmail.com> 
7
 * @copyright 2016
7
 * @copyright 2016
8
 * @version $Rev: 1077 $
8
 * @version $Rev: 1079 $
9
 */
9
 */
Zeile 10... Zeile 10...
10
 
10
 
11
class User_model extends CI_Model
11
class User_model extends CI_Model
12
{
12
{
Zeile 66... Zeile 66...
66
				UPDATE
66
				UPDATE
67
					Access
67
					Access
68
				SET
68
				SET
69
					name='".$user['name']."',
69
					name='".$user['name']."',
70
					user='".$user['user'].'@'.$GLOBALS["webs"]['domain']."',
70
					user='".$user['user'].'@'.$GLOBALS["webs"]['domain']."',
-
 
71
			";
-
 
72
			if ($user["passwd"])
-
 
73
			{
71
					passwd='".$passwd."',
74
				$sql .= "passwd='".$passwd."',";
-
 
75
			}
-
 
76
			$sql .= "
72
					ignoreRemoteHosts=".$user["ignoreRemoteHosts"].",
77
					ignoreRemoteHosts=".$user["ignoreRemoteHosts"].",
73
					email='".$user['email']."',
78
					email='".$user['email']."',
74
					telefon='".$user['telefon']."',
79
					telefon='".$user['telefon']."',
75
					fax='".$user['fax']."',
80
					fax='".$user['fax']."',
76
					dir='".$user['dir']."',
81
					dir='".$user['dir']."',