* @brief functions specific to event handling
*/
+use Friendica\App;
+
require_once 'include/bbcode.php';
require_once 'include/map.php';
require_once 'include/datetime.php';
function format_event_html($ev, $simple = false) {
- if (! ((is_array($ev)) && count($ev)))
+ if (! ((is_array($ev)) && count($ev))) {
return '';
}
}
/*
+@TODO old-lost code found?
function parse_event($h) {
require_once('include/Scrape.php');
*
* @param array $dates Array of possibly duplicated events
* @return array Cleaned events
- *
+ *
* @todo We should replace this with a separate update function if there is some time left
*/
function event_remove_duplicates($dates) {