aboutsummaryrefslogtreecommitdiff
path: root/app/FreshRSS.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-12-04 20:43:05 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-12-04 20:43:05 +0100
commitf1fd1091b9ef0cb0818659e0ce1c9699506cac97 (patch)
tree27a949919a044b5fafe4fdfc13520367a927a88d /app/FreshRSS.php
parentf9b037742a0aeb49cab86782d1a59913c2de47bf (diff)
Remove old code for extensions
Diffstat (limited to 'app/FreshRSS.php')
-rw-r--r--app/FreshRSS.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/app/FreshRSS.php b/app/FreshRSS.php
index 166ee1709..dc7d0b375 100644
--- a/app/FreshRSS.php
+++ b/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&amp;e=' . $extension . '&amp;' . $mtime));
- // }
- // $mtime = @filemtime($extensionPath . $extension . '/script.js');
- // if ($mtime !== false) {
- // Minz_View::appendScript(Minz_Url::display('/ext.php?j&amp;e=' . $extension . '&amp;' . $mtime));
- // }
- // if (file_exists($extensionPath . $extension . '/module.php')) {
- // //TODO: include
- // }
- // }
- // }
- // }
}