Skip to content

Commit

Permalink
Remove unnecessary rules() in the form.
Browse files Browse the repository at this point in the history
  • Loading branch information
bharat committed Jan 28, 2010
1 parent 4b32a71 commit acbb5aa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/gallery/helpers/album.php
Expand Up @@ -53,7 +53,6 @@ static function get_edit_form($parent) {
$group->textarea("description")->label(t("Description"))->value($parent->description);
if ($parent->id != 1) {
$group->input("name")->label(t("Directory Name"))->value($parent->name)
->rules("required")
->error_messages(
"conflict", t("There is already a movie, photo or album with this name"))
->error_messages("no_slashes", t("The directory name can't contain a \"/\""))
Expand Down

0 comments on commit acbb5aa

Please sign in to comment.