Created
December 14, 2020 21:34
-
-
Save jfinstrom/640ba22f2a738ee457d2766300cb1897 to your computer and use it in GitHub Desktop.
Digium Phones Restore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace FreePBX\modules\Digium_phones; | |
use FreePBX\modules\Backup as Base; | |
class Restore Extends Base\RestoreBase{ | |
public function runRestore(){ | |
$configs = $this->getConfigs(); | |
$this->importTables($configs['tables']); | |
} | |
public function processLegacy($pdo, $data, $tables, $unknownTables){ | |
$this->restoreLegacyDatabase($pdo); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment