Browse Source

add comments

Tim Fry 1 year ago
parent
commit
924bf63962
1 changed files with 2 additions and 0 deletions
  1. 2 0
      resources/classes/service.php

+ 2 - 0
resources/classes/service.php

@@ -718,6 +718,7 @@ abstract class service {
 			require_once __DIR__ . '/settings.php';
 		}
 
+		//TODO remove global functions after merge
 		if (file_exists(dirname(__DIR__).'/functions.php')) {
 			require_once dirname(__DIR__).'/functions.php';
 		}
@@ -739,6 +740,7 @@ abstract class service {
 		//initialize the service
 		$service->init();
 
+		//return the initialized object
 		return $service;
 	}