[ci skip] Add/remove some newlines from the session docs
diff --git a/user_guide_src/source/libraries/sessions.rst b/user_guide_src/source/libraries/sessions.rst
index cab7669..b3de225 100644
--- a/user_guide_src/source/libraries/sessions.rst
+++ b/user_guide_src/source/libraries/sessions.rst
@@ -433,6 +433,7 @@
Your initial class might look like::
class CI_Session_custom extends CI_Session_driver {
+
protected function initialize()
{
// Read existing session data or create a new one
@@ -457,6 +458,7 @@
{
// Return a reference to your userdata array
}
+
}
Notice that ``get_userdata()`` returns a reference so the parent library is
@@ -488,7 +490,6 @@
$config['sess_valid_drivers'] = array('sess_driver');
-
***************
Class Reference
***************
@@ -647,4 +648,4 @@
Returns a string containing the value of the passed item or NULL if the item is not found. Example::
$this->session->tempdata('message');
- //returns 'Test message.' considering the set_tempdata example.
+ //returns 'Test message.' considering the set_tempdata example.
\ No newline at end of file