run and call function in webservice should have firt letter lower case

master
Guillermo Dev 7 years ago
parent b01c3f6ad8
commit 764fe9a43f

@ -21,7 +21,7 @@ abstract class WebService
* Treat the current request and output the result. This is the only
* method that should be called on the webservice directly !
*/
public function Run()
public function run()
{
Logger::start(array('version' => $this->version));
@ -30,7 +30,7 @@ abstract class WebService
$data = array();
try {
$result = $this->Call();
$result = $this->call();
$data["result"][$this->func] = $result;
// Logger::log(print_r($result, true));
@ -63,7 +63,7 @@ abstract class WebService
* @return array
* @throws UsageException
*/
private function Call()
private function call()
{
session_save_path(Configuration::get('session.save_path'));
session_start();

Loading…
Cancel
Save