forked from Cavemanon/cavepaintings
HINT ALL THE TYPES. SIMPLE ALL THE EXTENSIONS.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*/
|
||||
|
||||
class RSS_Images extends SimpleExtension {
|
||||
public function onPostListBuilding($event) {
|
||||
public function onPostListBuilding(PostListBuildingEvent $event) {
|
||||
global $config, $page;
|
||||
$title = $config->get_string('title');
|
||||
|
||||
@@ -22,7 +22,7 @@ class RSS_Images extends SimpleExtension {
|
||||
}
|
||||
}
|
||||
|
||||
public function onPageRequest($event) {
|
||||
public function onPageRequest(PageRequestEvent $event) {
|
||||
if($event->page_matches("rss/images")) {
|
||||
$search_terms = $event->get_search_terms();
|
||||
$page_number = $event->get_page_number();
|
||||
|
Reference in New Issue
Block a user