summaryrefslogtreecommitdiffstats
path: root/rpc.php
diff options
context:
space:
mode:
Diffstat (limited to 'rpc.php')
-rw-r--r--rpc.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/rpc.php b/rpc.php
index c81a7ae..cffb4ed 100644
--- a/rpc.php
+++ b/rpc.php
@@ -45,9 +45,7 @@ class PHPFSPOT_RPC {
switch($_GET['action']) {
case 'showphoto':
- $fspot->prepare_single_photo($_GET['id']);
- $fspot->tmpl->show("body.tpl");
-
+ $fspot->showPhoto($_GET['id']);
break;
case 'show_available_tags':