]> git.mxchange.org Git - friendica-addons.git/blob - dav/SabreDAV/lib/Sabre/DAV/Exception/Forbidden.php
Merge remote branch 'friendica/master'
[friendica-addons.git] / dav / SabreDAV / lib / Sabre / DAV / Exception / Forbidden.php
1 <?php
2
3 /**
4  * Forbidden
5  *
6  * This exception is thrown whenever a user tries to do an operation he's not allowed to
7  *
8  * @package Sabre
9  * @subpackage DAV
10  * @copyright Copyright (C) 2007-2012 Rooftop Solutions. All rights reserved.
11  * @author Evert Pot (http://www.rooftopsolutions.nl/) 
12  * @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
13  */
14 class Sabre_DAV_Exception_Forbidden extends Sabre_DAV_Exception {
15
16     /**
17      * Returns the HTTP statuscode for this exception
18      *
19      * @return int
20      */
21     public function getHTTPCode() {
22
23         return 403;
24
25     }
26
27 }