moved deprecated communityhome, dav and yourls to the deprecated-addons repository

This commit is contained in:
Tobias Diekershoff 2018-06-02 11:23:11 +02:00
commit 31520f804d
675 changed files with 195144 additions and 0 deletions

View file

@ -0,0 +1,32 @@
<?php
class Sabre_DAV_TestPlugin extends Sabre_DAV_ServerPlugin {
public $beforeMethod;
function getFeatures() {
return array('drinking');
}
function getHTTPMethods($uri) {
return array('BEER','WINE');
}
function initialize(Sabre_DAV_Server $server) {
$server->subscribeEvent('beforeMethod',array($this,'beforeMethod'));
}
function beforeMethod($method) {
$this->beforeMethod = $method;
return true;
}
}