mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Remove unused code
This commit is contained in:
parent
3669fdc752
commit
07fd143853
5 changed files with 9 additions and 35 deletions
|
|
@ -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';
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue