Skip to content
Snippets Groups Projects
Commit fa955dac authored by Josh Smith's avatar Josh Smith
Browse files

Notify

Updated notify library to return $this in useful circumstances.
parent 94312c3d
Branches custom/inspire
No related merge requests found
......@@ -160,7 +160,7 @@ class Notify {
}
// Better return something.
return TRUE;
return $this;
}
/**
......@@ -241,13 +241,9 @@ class Notify {
{
// Store the notifications in a flashdata session.
$this->CI->session->set_flashdata('notify', $this->notifications);
// Lets say it worked.
return TRUE;
}
// No cheese for you.
return FALSE;
return $this;
}
/**
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment