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

This commit is contained in:
Guillermo Dev
2018-10-11 11:52:51 +02:00
parent b01c3f6ad8
commit 764fe9a43f

View File

@@ -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();