summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: db0ed27)
raw | patch | inline | side by side (parent: db0ed27)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 9 Nov 2010 15:18:41 +0000 (15:18 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 9 Nov 2010 15:18:41 +0000 (15:18 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20206 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_jsonRPC.inc | patch | blob | history |
index b9ded4fe3c851def5c1709bc11559c9e70f5df04..05ceec23581bce45a9a856657932b41c869fdb27 100644 (file)
*/
public function success()
{
- return(curl_errno($this->curlHandler) == 0 ||
- (isset($this->lastStats['http_code']) && $this->lastStats['http_code'] == 200));
+ return(curl_errno($this->curlHandler) == 0 &&
+ isset($this->lastStats['http_code']) &&
+ $this->lastStats['http_code'] == 200);
}
}
-
-
-
-
-
-
-
/*! \brief This method finally initiates the real RPC requests and handles
* the result from the server.
* @param string method The method to call