openrat-webdav

git clone http://git.code.weiherhei.de/openrat-webdav.git
Log | Files | Refs | README

UNLOCK.class.php (360B)


      1 <?php
      2 
      3 class DAV_UNLOCK extends DAV
      4 {
      5 
      6 
      7 	/**
      8 	 * Die Methode UNLOCK sollte garnicht aufgerufen werden, da wir nur
      9 	 * Dav-Level 1 implementieren und dies dem Client auch mitteilen.<br>
     10 	 * <br>
     11 	 * Ausgabe von HTTP-Status 412 (Precondition failed)
     12 	 */	
     13 	public function execute()
     14 	{
     15 		$this->httpStatus('412 Precondition failed');
     16 		$this->davOPTIONS();
     17 	}
     18 }