| 1: | <?php |
| 2: | /** |
| 3: | * This code is licensed under AGPLv3 license or Afterlogic Software License |
| 4: | * if commercial version of the product was purchased. |
| 5: | * For full statements of the licenses see LICENSE-AFTERLOGIC and LICENSE-AGPL3 files. |
| 6: | */ |
| 7: | |
| 8: | namespace Aurora\Modules\SharedFiles; |
| 9: | |
| 10: | /** |
| 11: | * @license https://www.gnu.org/licenses/agpl-3.0.html AGPL-3.0 |
| 12: | * @license https://afterlogic.com/products/common-licensing Afterlogic Software License |
| 13: | * @copyright Copyright (c) 2023, Afterlogic Corp. |
| 14: | * |
| 15: | * @package Filestorage |
| 16: | */ |
| 17: | class Manager extends \Aurora\Modules\PersonalFiles\Manager |
| 18: | { |
| 19: | /** |
| 20: | * @param \Aurora\System\Module\AbstractModule $oModule |
| 21: | */ |
| 22: | public function __construct(\Aurora\System\Module\AbstractModule $oModule = null) |
| 23: | { |
| 24: | parent::__construct($oModule); |
| 25: | |
| 26: | $this->oStorage = new Storages\Sabredav\Storage($this); |
| 27: | } |
| 28: | |
| 29: | /** |
| 30: | * |
| 31: | * @param string $sPublicId |
| 32: | */ |
| 33: | public function ClearFiles($sPublicId) |
| 34: | { |
| 35: | $this->oStorage->clearPrivateFiles($sPublicId); |
| 36: | } |
| 37: | } |
| 38: |