We no longer need a dialog to set or remove a watch, so remove it.

This commit is contained in:
Tim Almdal
2009-02-02 03:21:29 +00:00
parent 69a7e238a4
commit 0eb593711b
2 changed files with 8 additions and 30 deletions

View File

@@ -1,3 +1,4 @@
<?php defined("SYSPATH") or die("No direct script access.");
/**
* Gallery - a web based photo album viewer and editor
@@ -24,7 +25,7 @@ class notification_menu_Core {
if ($item) {
$menu
->append(Menu::factory("dialog")
->append(Menu::factory("link")
->id("watch")
->label(t("Enable notifications for this album"))
->url(url::site("notification/watch/$item->id"))