Commit fc19ce53e387a12c60ead186d7d1b3d5863ab63b
1 parent
2aaa0bf9
Remove unnecessary webservice level VersioningService class
Committed by: Paul Barrett
Showing
1 changed file
with
0 additions
and
33 deletions
webservice/classes/atompub/cmis/VersioningService.inc.php deleted
| 1 | -<?php | |
| 2 | - | |
| 3 | -require_once KT_LIB_DIR . '/api/ktcmis/ktVersioningService.inc.php'; | |
| 4 | - | |
| 5 | -/** | |
| 6 | - * CMIS Service class which hooks into the KnowledgeTree interface | |
| 7 | - * for processing of CMIS queries and responses via atompub/webservices | |
| 8 | - */ | |
| 9 | - | |
| 10 | -class VersioningService extends KTVersioningService { | |
| 11 | - | |
| 12 | - /** | |
| 13 | - * Deletes all Document Objects in the specified Version Series, including the Private Working Copy | |
| 14 | - * | |
| 15 | - * @param string $repositoryId | |
| 16 | - * @param string $versionSeriesId | |
| 17 | - * @return boolean true if successful | |
| 18 | - */ | |
| 19 | - public function deleteAllVersions($repositoryId, $versionSeriesId) | |
| 20 | - { | |
| 21 | - $result = parent::deleteAllVersions($repositoryId, $versionSeriesId); | |
| 22 | - | |
| 23 | - if ($result['status_code'] == 0) { | |
| 24 | - return $result['results']; | |
| 25 | - } | |
| 26 | - else { | |
| 27 | - return new PEAR_Error($result['message']); | |
| 28 | - } | |
| 29 | - } | |
| 30 | - | |
| 31 | -} | |
| 32 | - | |
| 33 | -?> |