aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-07-29 04:50:38 +0200
committerSem <sembrestels@riseup.net>2012-07-29 04:50:38 +0200
commit71e6db3c3dff9c9ec7e8109fc990f0d960273c9f (patch)
treed205027608f02d02b9ea0a5f21b0b022c0caa917 /start.php
parentf900e1e3cd0384aade0594ceffb6e4f51ce71415 (diff)
parent61566a3689a08460031d28925b7285b4a909a0ef (diff)
downloadelgg-71e6db3c3dff9c9ec7e8109fc990f0d960273c9f.tar.gz
elgg-71e6db3c3dff9c9ec7e8109fc990f0d960273c9f.tar.bz2
Merge branch 'sort-as-title-button' of git://github.com/sembrestels/Tidypics
Diffstat (limited to 'start.php')
-rw-r--r--start.php12
1 files changed, 1 insertions, 11 deletions
diff --git a/start.php b/start.php
index b365a65a7..07100fb8a 100644
--- a/start.php
+++ b/start.php
@@ -308,7 +308,7 @@ function tidypics_entity_menu_setup($hook, $type, $return, $params) {
}
}
- // only show these options if there are images
+ // only show slideshow link if there are images
if (elgg_instanceof($entity, 'object', 'album') && $entity->getSize() > 0) {
$url = $entity->getURL() . '?limit=50&view=rss';
$url = elgg_format_url($url);
@@ -320,16 +320,6 @@ function tidypics_entity_menu_setup($hook, $type, $return, $params) {
'priority' => 80,
);
$return[] = ElggMenuItem::factory($options);
-
- if ($entity->canEdit()) {
- $options = array(
- 'name' => 'sort',
- 'text' => elgg_echo('album:sort'),
- 'href' => "photos/sort/" . $entity->getGUID(),
- 'priority' => 90,
- );
- $return[] = ElggMenuItem::factory($options);
- }
}
return $return;