]> git.mxchange.org Git - friendica.git/blobdiff - include/event.php
Updated doc in include/probe.php
[friendica.git] / include / event.php
index 64b1ebddc3c4a4008ce11e2f4c82c5050063622a..5ef8b010f32508ef706637d7058105118cf1ef00 100644 (file)
@@ -4,6 +4,8 @@
  * @brief functions specific to event handling
  */
 
+use Friendica\App;
+
 require_once 'include/bbcode.php';
 require_once 'include/map.php';
 require_once 'include/datetime.php';
@@ -85,8 +87,8 @@ function format_event_html($ev, $simple = false) {
 @TODO old-lost code found?
 function parse_event($h) {
 
-       require_once('include/Scrape.php');
-       require_once('include/html2bbcode');
+       require_once 'include/probe.php';
+       require_once 'include/html2bbcode';
 
        $h = '<html><body>' . $h . '</body></html>';
 
@@ -535,7 +537,7 @@ function get_event_strings() {
  *
  * @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) {