forked from Cavemanon/cavepaintings
flash_message -> page->flash, with no cookies
This commit is contained in:
@@ -357,7 +357,7 @@ class Ratings extends Extension
|
||||
|
||||
public function onBulkAction(BulkActionEvent $event)
|
||||
{
|
||||
global $user;
|
||||
global $page, $user;
|
||||
|
||||
switch ($event->action) {
|
||||
case "bulk_rate":
|
||||
@@ -371,7 +371,7 @@ class Ratings extends Extension
|
||||
send_event(new RatingSetEvent($image, $rating));
|
||||
$total++;
|
||||
}
|
||||
flash_message("Rating set for $total items");
|
||||
$page->flash("Rating set for $total items");
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user