mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
DebugMsgs entfernt
This commit is contained in:
@@ -164,8 +164,8 @@ class MySabre_CalDAV_Backend extends Sabre_CalDAV_Backend_Abstract
|
||||
$sekunde = mb_substr($dtstart,13,2);
|
||||
$begin = mktime($stunde, $minute, $sekunde, $monat, $tag-1, $jahr);
|
||||
$ende = mktime($stunde, $minute, $sekunde, $monat, $tag+1, $jahr);
|
||||
error_log("getCalendarData unr: $unr dtstart: $dtstart");
|
||||
error_log($begin.'/'.$ende);
|
||||
//error_log("getCalendarData unr: $unr dtstart: $dtstart");
|
||||
//error_log($begin.'/'.$ende);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -179,7 +179,7 @@ class MySabre_CalDAV_Backend extends Sabre_CalDAV_Backend_Abstract
|
||||
// Kalender erstellen
|
||||
while($begin<$ende)
|
||||
{
|
||||
error_log("while");
|
||||
//error_log("while");
|
||||
$i++;
|
||||
if(!date("w",$begin))
|
||||
$begin=jump_day($begin,1);
|
||||
@@ -198,8 +198,8 @@ class MySabre_CalDAV_Backend extends Sabre_CalDAV_Backend_Abstract
|
||||
{
|
||||
foreach($val as $row)
|
||||
{
|
||||
error_log("search dtstart:".$dtstart." unr:".$unr);
|
||||
error_log("row dtstart:".$row['dtstart']." unr:".$row['unr'][0]);
|
||||
// error_log("search dtstart:".$dtstart." unr:".$unr);
|
||||
// error_log("row dtstart:".$row['dtstart']." unr:".$row['unr'][0]);
|
||||
if($row['dtstart']==$dtstart && $row['unr'][0]==$unr)
|
||||
{
|
||||
error_log("found!");
|
||||
@@ -265,7 +265,7 @@ END:VTIMEZONE\n".$event."\nEND:VCALENDAR";
|
||||
$user = $calendarId;
|
||||
$data = $this->getCalendarData($user);
|
||||
|
||||
error_log("Caldav_Backend.php/getCalendarObjects($calendarId) data:".print_r($data,true));
|
||||
//error_log("Caldav_Backend.php/getCalendarObjects($calendarId) data:".print_r($data,true));
|
||||
$return = array();
|
||||
foreach($data as $row)
|
||||
{
|
||||
@@ -294,7 +294,7 @@ END:VTIMEZONE\n".$event."\nEND:VCALENDAR";
|
||||
*/
|
||||
public function getCalendarObject($calendarId,$objectUri)
|
||||
{
|
||||
error_log("Caldav_Backend.php/getCalendarObject($calendarId, $objectUri)");
|
||||
//error_log("Caldav_Backend.php/getCalendarObject($calendarId, $objectUri)");
|
||||
$user = $this->getUser();
|
||||
$data = $this->getCalendarData($user,$objectUri);
|
||||
if(count($data)==0)
|
||||
|
||||
@@ -70,7 +70,7 @@ class MySabre_DAVACL_PrincipalBackend implements Sabre_DAVACL_IPrincipalBackend
|
||||
public function getPrincipalsByPrefix($prefixPath)
|
||||
{
|
||||
//$prefixPath = principals
|
||||
error_log('Principal.php/getPrincipalsByPrefix('.$prefixPath.')');
|
||||
//error_log('Principal.php/getPrincipalsByPrefix('.$prefixPath.')');
|
||||
$principals = array();
|
||||
$user = $this->getUser();
|
||||
if($prefixPath=='principals')
|
||||
@@ -113,7 +113,7 @@ class MySabre_DAVACL_PrincipalBackend implements Sabre_DAVACL_IPrincipalBackend
|
||||
public function getPrincipalByPath($path)
|
||||
{
|
||||
//$path = principals/oesi
|
||||
error_log('Principal.php/getPrincipalByPath('.$path.')');
|
||||
//error_log('Principal.php/getPrincipalByPath('.$path.')');
|
||||
$user = $this->getUser();
|
||||
$result = array(
|
||||
'id' => $user,
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
*/
|
||||
require_once('../config/cis.config.inc.php');
|
||||
require_once('../include/sabredav/lib/Sabre/autoload.php');
|
||||
//require_once('../../../sabredav161/SabreDAV/lib/Sabre/autoload.php');
|
||||
require_once('DMSdirectory.class.php');
|
||||
require_once('DMSfile.class.php');
|
||||
require_once('auth.class.php');
|
||||
|
||||
Reference in New Issue
Block a user