diff options
| author | 2022-01-08 16:25:17 +0100 | |
|---|---|---|
| committer | 2022-01-08 16:25:17 +0100 | |
| commit | 916df412f5b6f7fb9bcfb705a3c8c23e35304410 (patch) | |
| tree | d87c483688575cb5a6b674849e2aefa2052116c8 /app/Controllers | |
| parent | 127b7f0a3aad7012055c058e8aba0d27192a8cbc (diff) | |
Fix various typos and spelling errors in documentation, comments and code. (#4134)
Diffstat (limited to 'app/Controllers')
| -rw-r--r-- | app/Controllers/authController.php | 2 | ||||
| -rwxr-xr-x | app/Controllers/entryController.php | 2 | ||||
| -rw-r--r-- | app/Controllers/importExportController.php | 2 | ||||
| -rwxr-xr-x | app/Controllers/indexController.php | 4 | ||||
| -rw-r--r-- | app/Controllers/subscriptionController.php | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/app/Controllers/authController.php b/app/Controllers/authController.php index fedabea8e..c4258b8df 100644 --- a/app/Controllers/authController.php +++ b/app/Controllers/authController.php @@ -149,7 +149,7 @@ class FreshRSS_auth_Controller extends FreshRSS_ActionController { ]); FreshRSS_Auth::giveAccess(); - // Set cookie parameter if nedded. + // Set cookie parameter if needed. if (Minz_Request::param('keep_logged_in')) { FreshRSS_FormAuth::makeCookie($username, FreshRSS_Context::$user_conf->passwordHash); } else { diff --git a/app/Controllers/entryController.php b/app/Controllers/entryController.php index 5afd24a91..29b87b927 100755 --- a/app/Controllers/entryController.php +++ b/app/Controllers/entryController.php @@ -152,7 +152,7 @@ class FreshRSS_entry_Controller extends FreshRSS_ActionController { /** * This action optimizes database to reduce its size. * - * This action shouldbe reached by a POST request. + * This action should be reached by a POST request. * * @todo move this action in configure controller. * @todo call this action through web-cron when available diff --git a/app/Controllers/importExportController.php b/app/Controllers/importExportController.php index efb2684fe..d384afddb 100644 --- a/app/Controllers/importExportController.php +++ b/app/Controllers/importExportController.php @@ -255,7 +255,7 @@ class FreshRSS_importExport_Controller extends FreshRSS_ActionController { * * @param string $article_file the JSON file content. * @param boolean $starred true if articles from the file must be starred. - * @return boolean false if an error occured, true otherwise. + * @return boolean false if an error occurred, true otherwise. */ private function importJson($article_file, $starred = false) { $article_object = json_decode($article_file, true); diff --git a/app/Controllers/indexController.php b/app/Controllers/indexController.php index c6200f868..d9a59c5e3 100755 --- a/app/Controllers/indexController.php +++ b/app/Controllers/indexController.php @@ -9,10 +9,10 @@ class FreshRSS_index_Controller extends FreshRSS_ActionController { * This action only redirect on the default view mode (normal or global) */ public function indexAction() { - $prefered_output = FreshRSS_Context::$user_conf->view_mode; + $preferred_output = FreshRSS_Context::$user_conf->view_mode; Minz_Request::forward(array( 'c' => 'index', - 'a' => $prefered_output + 'a' => $preferred_output )); } diff --git a/app/Controllers/subscriptionController.php b/app/Controllers/subscriptionController.php index 7545035cc..eb0d86c3b 100644 --- a/app/Controllers/subscriptionController.php +++ b/app/Controllers/subscriptionController.php @@ -72,7 +72,7 @@ class FreshRSS_subscription_Controller extends FreshRSS_ActionController { * * It displays the feed configuration page. * If this action is reached through a POST request, it stores all new - * configuraiton values then sends a notification to the user. + * configuration values then sends a notification to the user. * * The options available on the page are: * - name |
