27 lines
573 B
PHP
27 lines
573 B
PHP
<?php
|
|
/**
|
|
* Copyright 1999-2017 Horde LLC (http://www.horde.org/)
|
|
*
|
|
* See the enclosed file COPYING for license information (GPL). If you
|
|
* did not receive this file, see http://www.horde.org/licenses/gpl.
|
|
*
|
|
* @author Jan Schneider <jan@horde.org>
|
|
* @package Kronolith
|
|
*/
|
|
|
|
/**
|
|
* Event class implementation for the mock driver.
|
|
*
|
|
* @author Jan Schneider <jan@horde.org>
|
|
* @package Kronolith
|
|
*/
|
|
class Kronolith_Event_Mock extends Kronolith_Event
|
|
{
|
|
/**
|
|
*/
|
|
public function hasPermission($permission, $user = null)
|
|
{
|
|
return true;
|
|
}
|
|
}
|