|
@@ -64,7 +64,7 @@ discard block |
|
|
block discarded – undo |
|
64
|
64
|
public function user_login($username, $password) { |
|
65
|
65
|
|
|
66
|
66
|
$functionname = $this->config->auth_function; |
|
67
|
|
- $params = array($this->config->auth_function_username_paramname => $username, |
|
|
67
|
+ $params = array($this->config->auth_function_username_paramname => $username, |
|
68
|
68
|
$this->config->auth_function_password_paramname => $password); |
|
69
|
69
|
|
|
70
|
70
|
$result = $this->call_ws($this->config->auth_serverurl, $functionname, $params); |
|
@@ -81,7 +81,7 @@ discard block |
|
|
block discarded – undo |
|
81
|
81
|
* @param bool $do_updates Optional: set to true to force an update of existing accounts |
|
82
|
82
|
* @return int 0 means success, 1 means failure |
|
83
|
83
|
*/ |
|
84
|
|
- public function sync_users(progress_trace $trace, $do_updates=false) { |
|
|
84
|
+ public function sync_users(progress_trace $trace, $do_updates = false) { |
|
85
|
85
|
return true; |
|
86
|
86
|
} |
|
87
|
87
|
|
|
@@ -91,7 +91,7 @@ discard block |
|
|
block discarded – undo |
|
91
|
91
|
|
|
92
|
92
|
private function call_ws($serverurl, $functionname, $params = array()) { |
|
93
|
93
|
|
|
94
|
|
- $serverurl = $serverurl . '?wsdl'; |
|
|
94
|
+ $serverurl = $serverurl.'?wsdl'; |
|
95
|
95
|
|
|
96
|
96
|
$params = array_merge($this->config->ws_default_params, $params); |
|
97
|
97
|
|
Please login to merge, or discard this patch.