-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from owncloud/master-sabre
Bump SabreDAV to 1.7.6 - Master
- Loading branch information
Showing
4 changed files
with
39 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
|
||
/** | ||
* Sabre_DAV_Exception_ServiceUnavailable | ||
* | ||
* This exception is thrown in case the service | ||
* is currently not available (e.g. down for maintenance). | ||
* | ||
* @package Sabre | ||
* @subpackage DAV | ||
* @author Thomas Müller <thomas.mueller@tmit.eu> | ||
* @copyright Copyright (C) 2007-2013 Rooftop Solutions. All rights reserved. | ||
* @license http://code.google.com/p/sabredav/wiki/License Modified BSD License | ||
*/ | ||
|
||
class Sabre_DAV_Exception_ServiceUnavailable extends Sabre_DAV_Exception { | ||
|
||
/** | ||
* Returns the HTTP statuscode for this exception | ||
* | ||
* @return int | ||
*/ | ||
public function getHTTPCode() { | ||
|
||
return 503; | ||
|
||
} | ||
|
||
} |
This file contains 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
This file contains 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