mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-19 13:25:36 -04:00
Remove direct call to item_before_delete since r20647 moved it into Item_Model
This commit is contained in:
@@ -24,7 +24,6 @@ class Comment_Event_Test extends Unit_Test_Case {
|
||||
$comment = comment::create(
|
||||
$album, user::guest(), "text_$rand", "name_$rand", "email_$rand", "url_$rand");
|
||||
|
||||
comment_event::item_before_delete($album);
|
||||
$album->delete();
|
||||
|
||||
$deleted_comment = ORM::factory("comment", $comment->id);
|
||||
|
||||
Reference in New Issue
Block a user