Remove unused code

This commit is contained in:
djmaze 2020-07-29 00:06:59 +02:00
parent 3669fdc752
commit 07fd143853
5 changed files with 9 additions and 35 deletions

View file

@ -18,10 +18,6 @@ class Utils
static $RsaKey = null;
function __construct()
{
}
static public function PgpVerifyFile(string $sFileName, string $sSignature) : bool
{
$sKeyFile = APP_VERSION_ROOT_PATH.'app/resources/RainLoop.asc';

View file

@ -121,9 +121,9 @@ class ICSExportPlugin extends DAV\ServerPlugin {
case 'VTIMEZONE' :
// Naively just checking tzid.
if (!in_array((string)$child->TZID, $collectedTimezones)) {
$timezones[] = $child;
$collectedTimezones[] = $child->TZID;
}
$timezones[] = $child;
$collectedTimezones[] = $child->TZID;
}
break;
}

View file

@ -1,18 +0,0 @@
<?php
if (!defined('APP_VERSION'))
{
define('APP_VERSION', '0.0.0');
define('APP_INDEX_ROOT_FILE', __FILE__);
define('APP_INDEX_ROOT_PATH', str_replace('\\', '/', rtrim(dirname(__FILE__), '\\/').'/'));
}
if (file_exists(APP_INDEX_ROOT_PATH.'rainloop/v/'.APP_VERSION.'/index.php'))
{
return include APP_INDEX_ROOT_PATH.'rainloop/v/'.APP_VERSION.'/index.php';
}
else
{
echo '[105] Missing version directory';
exit(105);
}