Correct some doc blocks #1177

Merged
merged 2 commits into from May 1, 2012
@@ -985,10 +985,10 @@ public function loadDocument(JDocument $document = null)
}
/**
- * Allows the application to load a custom or default document.
+ * Allows the application to load a custom or default language.
*
* The logic and options for creating this object are adequately generic for default cases
- * but for many applications it will make sense to override this method and create an language,
+ * but for many applications it will make sense to override this method and create a language,
* if required, based on more specific needs.
*
* @param JLanguage $language An optional language object. If omitted, the factory language is created.
@@ -1005,7 +1005,7 @@ public function loadLanguage(JLanguage $language = null)
}
/**
- * Allows the application to load a custom or default document.
+ * Allows the application to load a custom or default session.
*
* The logic and options for creating this object are adequately generic for default cases
* but for many applications it will make sense to override this method and create a session,