Skip to content

Instantly share code, notes, and snippets.

@jfinstrom
Created December 14, 2020 21:34
Show Gist options
  • Save jfinstrom/640ba22f2a738ee457d2766300cb1897 to your computer and use it in GitHub Desktop.
Save jfinstrom/640ba22f2a738ee457d2766300cb1897 to your computer and use it in GitHub Desktop.
Digium Phones Restore
<?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