Skip to content

Commit

Permalink
[-]fixed service and hosttemplate deletion if EVC module is not insta…
Browse files Browse the repository at this point in the history
…lled
  • Loading branch information
m4ximum committed Jan 29, 2016
1 parent dc59c16 commit 1eed6ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Model/Hosttemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,6 @@ public function __allowDelete($hosttemplateId){
return $notInUse;
}

return false;
return true;
}
}
2 changes: 1 addition & 1 deletion app/Model/Servicetemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,6 @@ public function __allowDelete($servicetemplateId){
}
return $notInUse;
}
return false;
return true;
}
}

0 comments on commit 1eed6ff

Please sign in to comment.