Browse Source

Remove old code for extensions

Marien Fressinaud 11 years ago
parent
commit
f1fd1091b9
1 changed files with 0 additions and 20 deletions
  1. 0 20
      app/FreshRSS.php

+ 0 - 20
app/FreshRSS.php

@@ -79,24 +79,4 @@ class FreshRSS extends Minz_FrontController {
 			Minz_Session::_param('notification');
 		}
 	}
-
-	// private function loadExtensions() {
-	// 	$extensionPath = FRESHRSS_PATH . '/extensions/';
-	// 	//TODO: Add a preference to load only user-selected extensions
-	// 	foreach (scandir($extensionPath) as $key => $extension) {
-	// 		if (ctype_alpha($extension)) {
-	// 			$mtime = @filemtime($extensionPath . $extension . '/style.css');
-	// 			if ($mtime !== false) {
-	// 				Minz_View::appendStyle(Minz_Url::display('/ext.php?c&e=' . $extension . '&' . $mtime));
-	// 			}
-	// 			$mtime = @filemtime($extensionPath . $extension . '/script.js');
-	// 			if ($mtime !== false) {
-	// 				Minz_View::appendScript(Minz_Url::display('/ext.php?j&e=' . $extension . '&' . $mtime));
-	// 			}
-	// 			if (file_exists($extensionPath . $extension . '/module.php')) {
-	// 				//TODO: include
-	// 			} 
-	// 		}
-	// 	}
-	// }
 }