[pLog-svn] r3075 - plog/trunk/class/action/admin

oscar at devel.lifetype.net oscar at devel.lifetype.net
Thu Mar 16 17:47:55 GMT 2006


Author: oscar
Date: 2006-03-16 17:47:54 +0000 (Thu, 16 Mar 2006)
New Revision: 3075

Modified:
   plog/trunk/class/action/admin/admindeleteblogcategoryaction.class.php
Log:
fixed another incorrect constant name


Modified: plog/trunk/class/action/admin/admindeleteblogcategoryaction.class.php
===================================================================
--- plog/trunk/class/action/admin/admindeleteblogcategoryaction.class.php	2006-03-16 17:38:48 UTC (rev 3074)
+++ plog/trunk/class/action/admin/admindeleteblogcategoryaction.class.php	2006-03-16 17:47:54 UTC (rev 3075)
@@ -59,7 +59,7 @@
 					$numBlogs = $category->getNumBlogs( BLOG_STATUS_ALL );
 					
 					// fire the pre-event
-					$this->notifyEvent( EVENT_PRE_BLOG_CATEGORY_DELETE, Array( "category" => &$category ));
+					$this->notifyEvent( EVENT_PRE_DELETE_BLOG_CATEGORY, Array( "category" => &$category ));
 
 					// if it has at least one we can't delete it because then it would break the
 					// integrity of our data in the database...
@@ -77,7 +77,7 @@
 								$successMessage = $this->_locale->pr( "blog_categories_deleted_ok", $totalOk );
 								
 							// fire the pre-event
-							$this->notifyEvent( EVENT_POST_BLOG_CATEGORY_DELETE, Array( "category" => &$category ));
+							$this->notifyEvent( EVENT_POST_DELETE_BLOG_CATEGORY, Array( "category" => &$category ));
 						}
 					}
 				}



More information about the pLog-svn mailing list