[Rt-commit] r9525 - in rt/branches/3.6-EXPERIMENTAL-CATEGORIES: lib/RT

falcone at bestpractical.com falcone at bestpractical.com
Wed Oct 31 22:23:45 EDT 2007


Author: falcone
Date: Wed Oct 31 22:23:44 2007
New Revision: 9525

Modified:
   rt/branches/3.6-EXPERIMENTAL-CATEGORIES/   (props changed)
   rt/branches/3.6-EXPERIMENTAL-CATEGORIES/lib/RT/ObjectCustomFieldValue_Overlay.pm

Log:
 r26019 at ketch:  falcone | 2007-10-31 12:16:27 -0400
 * don't actually Delete categories since we don't delete OCFVs, we 
   just mark them disabled


Modified: rt/branches/3.6-EXPERIMENTAL-CATEGORIES/lib/RT/ObjectCustomFieldValue_Overlay.pm
==============================================================================
--- rt/branches/3.6-EXPERIMENTAL-CATEGORIES/lib/RT/ObjectCustomFieldValue_Overlay.pm	(original)
+++ rt/branches/3.6-EXPERIMENTAL-CATEGORIES/lib/RT/ObjectCustomFieldValue_Overlay.pm	Wed Oct 31 22:23:44 2007
@@ -299,22 +299,4 @@
     return $attr->Delete;
 }
 
-=head2 Delete
-
-Make sure that the Category Attribute is deleted when we're deleted
-
-=cut
-
-sub Delete {
-    my $self = shift;
-
-    my ($result, $msg) = $self->DeleteCategory;
-
-    unless ($result) {
-        return ($result, $msg);
-    }
-
-    return $self->SUPER::Delete(@_);
-}
-
 1;


More information about the Rt-commit mailing list