mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
blacklisting whole etemplate app and importexport_widget_filter class (plus api, phpgwapi and setup, as they make no sense at all), as they mess up autoloading ("PHP Fatal error: Class EGroupware\Api\Etemplate\Widget\Transformer not found")
This commit is contained in:
parent
4eddb82724
commit
901157242e
@ -50,9 +50,15 @@ class importexport_helper_functions {
|
||||
* If you put appname => true, the whole app will be skipped.
|
||||
*/
|
||||
protected static $blacklist_files = array(
|
||||
'api' => true,
|
||||
'etemplate' => true,
|
||||
'setup' => true,
|
||||
'news_admin' => array(
|
||||
'class.news_admin_import.inc.php',
|
||||
),
|
||||
'importexport' => array(
|
||||
'class.importexport_widget_filter.inc.php',
|
||||
)
|
||||
);
|
||||
|
||||
/**
|
||||
@ -743,10 +749,10 @@ class importexport_helper_functions {
|
||||
$end = $weekstart + $eweek*7*24*60*60;
|
||||
}
|
||||
$end_param = $end - 24*60*60;
|
||||
|
||||
|
||||
// Take 1 second off end to provide an inclusive range.for filtering
|
||||
$end -= 1;
|
||||
|
||||
|
||||
//echo __METHOD__."($value,$start,$end) today=".date('l, Y-m-d H:i',$today)." ==> <br />".date('l, Y-m-d H:i:s',$start)." <= date <= ".date('l, Y-m-d H:i:s',$end)."</p>\n";
|
||||
return array('from' => $start, 'to' => $end);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user