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.
This commit is contained in:
Arctic Code 2014-03-03 08:57:09 -06:00
parent 10d2b06223
commit 3040f69456

View File

@ -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 "<div id=\"success\">Shortened: <a onclick=\"copyToClipboard('http://unps.us/?$short');\" href=\"http://unps.us/?$short\" target=\"$short\">http://unps.us/?$short</a><br />Your link deletion password (write this down): $dpass</div>";
if($result = $sdb->query($sql)): return "<div id=\"success\">Shortened: <a onclick=\"copyToClipboard('http://unps.us/?$short');\" href=\"http://unps.us/?$short\" target=\"$short\">http://unps.us/?$short</a>";
else: return '<div id="error">ERROR: ['.$sdb->error.']</div>';
endif;
}