Author: sevein
Date: Sat Jul 23 02:03:24 2011
New Revision: 9372

Log:
Use slugs for QubitRights, but go to slugify directly

Modified:
   trunk/lib/model/QubitRights.php

Modified: trunk/lib/model/QubitRights.php
==============================================================================
--- trunk/lib/model/QubitRights.php     Sat Jul 23 02:00:47 2011        (r9371)
+++ trunk/lib/model/QubitRights.php     Sat Jul 23 02:03:24 2011        (r9372)
@@ -23,4 +23,11 @@
   {
     return (string) $this->act;
   }
+
+  protected function insert($connection = null)
+  {
+    $this->slug = QubitSlug::slugify($this->slug);
+
+    return parent::insert($connection);
+  }
 }

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to