mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-16 23:19:53 -04:00
We no longer need a dialog to set or remove a watch, so remove it.
This commit is contained in:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user