| 1 |
<?php |
| 2 |
|
| 3 |
if (!defined('UPDRAFTPLUS_DIR')) die('No direct access.'); |
| 4 |
|
| 5 |
if (class_exists('UpdraftPlus_Addons_RemoteStorage_onedrive')) { |
| 6 |
|
| 7 |
class UpdraftPlus_BackupModule_pcloud extends UpdraftPlus_Addons_RemoteStorage_pcloud { |
| 8 |
public function __construct() { |
| 9 |
parent::__construct('pcloud', 'pCloud', false, 'pcloud-logo.png'); |
| 10 |
} |
| 11 |
} |
| 12 |
|
| 13 |
} else { |
| 14 |
|
| 15 |
updraft_try_include_file('methods/addon-not-yet-present.php', 'include_once'); |
| 16 |
/** |
| 17 |
* N.B. UpdraftPlus_BackupModule_AddonNotYetPresent extends UpdraftPlus_BackupModule |
| 18 |
*/ |
| 19 |
class UpdraftPlus_BackupModule_pcloud extends UpdraftPlus_BackupModule_AddonNotYetPresent { |
| 20 |
public function __construct() { |
| 21 |
parent::__construct('pcloud', 'pCloud', false, 'pcloud-logo.png'); |
| 22 |
} |
| 23 |
} |
| 24 |
|
| 25 |
} |