Changeset 3082 for trunk/lib/MT/CMS/Common.pm
- Timestamp:
- 10/03/08 01:07:01 (14 months ago)
- Files:
-
- 1 modified
-
trunk/lib/MT/CMS/Common.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/MT/CMS/Common.pm
r3039 r3082 961 961 } 962 962 elsif ( $type eq 'category' ) { 963 my @kids = MT::Category->load( { parent => $id } );964 return $app->errtrans(965 "You can't delete that category because it has sub-categories. Move or delete the sub-categories first if you want to delete this one."966 ) if @kids;967 963 if ( $app->config('DeleteFilesAtRebuild') ) { 968 964 require MT::Blog;
