diff --git a/js/privatebin.js b/js/privatebin.js index 30b2b87b..8a0fe8a0 100644 --- a/js/privatebin.js +++ b/js/privatebin.js @@ -4353,30 +4353,6 @@ jQuery.PrivateBin = (function($, sjcl, Base64, RawDeflate) { TopNav.showCreateButtons(); }; - /** - * removes a saved paste - * - * @name Controller.removePaste - * @function - * @param {string} pasteId - * @param {string} deleteToken - * @deprecated not used anymore, de we still need it? - */ - me.removePaste = function(pasteId, deleteToken) { - // unfortunately many web servers don't support DELETE (and PUT) out of the box - // so we use a POST request - Uploader.prepare(); - Uploader.setUrl(Helper.baseUri() + '?' + pasteId); - Uploader.setUnencryptedData('deletetoken', deleteToken); - - Uploader.setFailure(function () { - Alert.showError( - I18n._('Could not delete the paste, it was not stored in burn after reading mode.') - ); - }); - Uploader.run(); - }; - /** * application start * diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index 2ab54841..d6a577f7 100644 --- a/tpl/bootstrap.php +++ b/tpl/bootstrap.php @@ -75,7 +75,7 @@ if ($MARKDOWN): - + diff --git a/tpl/page.php b/tpl/page.php index a03da041..932be4be 100644 --- a/tpl/page.php +++ b/tpl/page.php @@ -53,7 +53,7 @@ if ($MARKDOWN): - +