From 3040f694561ba4edf0a752cb0a78c203b7450575 Mon Sep 17 00:00:00 2001 From: Arctic Code Date: Mon, 3 Mar 2014 08:57:09 -0600 Subject: [PATCH] Remove Delete link password This may get reimplemented so that people can delete links if they want to. Probably as part of the user model. --- api/api.backend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/api.backend.php b/api/api.backend.php index 0212ab2..24bc97b 100644 --- a/api/api.backend.php +++ b/api/api.backend.php @@ -72,7 +72,7 @@ class api{ else: $sql = "INSERT INTO `links` (link, shortlink, dpass) VALUES ('$link', '$short', '$apikey')"; endif; - if($result = $sdb->query($sql)): return "
Shortened: http://unps.us/?$short
Your link deletion password (write this down): $dpass
"; + if($result = $sdb->query($sql)): return "
Shortened: http://unps.us/?$short"; else: return '
ERROR: ['.$sdb->error.']
'; endif; }