Remote Synchronization (CardDAV) improvements:

now it supports address book url auto detection (and works with Google contacts, icloud and etc.)
This commit is contained in:
RainLoop Team 2015-05-09 02:43:56 +04:00
parent 92f2caf700
commit 1fb553e77e
249 changed files with 1338 additions and 1453 deletions

View file

@ -27,11 +27,6 @@ abstract class PHPThumb
*/
protected $fileName;
/**
* @var \Symfony\Component\Filesystem\Filesystem
*/
protected $filesystem;
/**
* What the file format is (mime-type)
*
@ -59,7 +54,6 @@ abstract class PHPThumb
*/
public function __construct($fileName, array $options = array(), array $plugins = array())
{
$this->filesystem = new \Symfony\Component\Filesystem\Filesystem();
$this->fileName = $fileName;
$this->remoteImage = false;
@ -89,9 +83,9 @@ abstract class PHPThumb
return true;
}
if($this->filesystem->exists($filename)) {
return true;
}
if (file_exists($filename)) {
return true;
}
return false;
}