summaryrefslogtreecommitdiff
path: root/lib/Kolab/FreeBusy/Source.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kolab/FreeBusy/Source.php')
-rw-r--r--lib/Kolab/FreeBusy/Source.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Kolab/FreeBusy/Source.php b/lib/Kolab/FreeBusy/Source.php
index 6d5d062..c078b48 100644
--- a/lib/Kolab/FreeBusy/Source.php
+++ b/lib/Kolab/FreeBusy/Source.php
@@ -1,11 +1,11 @@
<?php
-namespace Kolab;
+namespace Kolab\FreeBusy;
/**
* Abstract class to fetch free/busy data from a specific source
*/
-abstract class FBSource
+abstract class Source
{
protected $config = array();
@@ -18,10 +18,10 @@ abstract class FBSource
{
$config = parse_url($url);
switch ($config['scheme']) {
- case 'file': return new FBSourceFile($config);
- case 'imap': return new FBSourceIMAP($config);
+ case 'file': return new SourceFile($config);
+ case 'imap': return new SourceIMAP($config);
case 'http':
- case 'https': return new FBSourceURL($url);
+ case 'https': return new SourceURL($url);
}
trigger_error("Invalid source configuration: " . $url, E_USER_ERROR);