Apply PR 101

This commit is contained in:
steve-lad 2021-03-13 15:10:24 +01:00
parent 9ae3638d04
commit da9517a335
3 changed files with 3 additions and 5 deletions

View file

@ -1735,7 +1735,7 @@ class Sccp_manager extends \FreePBX_Helpers implements \BMO {
} }
} }
$this->sccpvalues['sccp_compatible'] = array('keyword' => 'compatible', 'data' => $ver_id, 'type' => '1', 'seq' => '99'); $this->sccpvalues['sccp_compatible'] = array('keyword' => 'sccp_compatible', 'data' => $ver_id, 'type' => '1', 'seq' => '99');
$this->sccppath = $this->extconfigs->validate_init_path($confDir, $this->sccpvalues, $sccp_driver_replace); $this->sccppath = $this->extconfigs->validate_init_path($confDir, $this->sccpvalues, $sccp_driver_replace);
$driver = $this->FreePBX->Core->getAllDriversInfo(); // ?????? $driver = $this->FreePBX->Core->getAllDriversInfo(); // ??????

View file

@ -10,8 +10,6 @@ namespace FreePBX\modules\Sccp_manager\aminterface;
// ************************************************************************** Response ********************************************* // ************************************************************************** Response *********************************************
namespace FreePBX\modules\Sccp_manager\aminterface;
abstract class Response extends IncomingMessage abstract class Response extends IncomingMessage
{ {

View file

@ -356,7 +356,7 @@ class dbinterface
$result = exec('mysqldump '.$database.' --password='.$pass.' --user='.$user.' --single-transaction >'.$filename, $output); $result = exec('mysqldump '.$database.' --password='.$pass.' --user='.$user.' --single-transaction >'.$filename, $output);
return $filename; return $filename;
} }
/* /*
* Check Table structure * Check Table structure
*/ */
@ -393,7 +393,7 @@ class dbinterface
break; break;
} }
} }
return $result; return $result;
} }
} }