diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-01-27 22:41:09 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-01-27 22:41:09 -0800 |
commit | acbb5aac05d41aad89176d28f1d583c8072f2a2a (patch) | |
tree | a35cc5f8715f8aaaeedd04aafab69c2c4eb38fb6 | |
parent | 4b32a71afc7650fe7bdd02ba384c8914f60538f3 (diff) |
Remove unnecessary rules() in the form.
-rw-r--r-- | modules/gallery/helpers/album.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/gallery/helpers/album.php b/modules/gallery/helpers/album.php index 55282252..641f0708 100644 --- a/modules/gallery/helpers/album.php +++ b/modules/gallery/helpers/album.php @@ -53,7 +53,6 @@ class album_Core { $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 \"/\"")) |