some minor cleanups

This commit is contained in:
El RIDO 2016-07-19 14:44:17 +02:00
parent 535710cdd6
commit 002046cc62
4 changed files with 6 additions and 7 deletions

View file

@ -973,7 +973,6 @@ $(function() {
this.showStatus(i18n._('Sending paste...'), true);
var randomkey = sjcl.codec.base64.fromBits(sjcl.random.randomWords(8, 0), 0);
var cipherdata_attachment;
var password = this.passwordInput.val();
if(files && files[0])
{

View file

@ -112,7 +112,7 @@ abstract class model_abstract
* Get instance data.
*
* @access public
* @return stdObject
* @return stdClass
*/
abstract public function get();

View file

@ -86,7 +86,7 @@ abstract class privatebin_abstract
* Test if a paste exists.
*
* @access public
* @param string $dataid
* @param string $pasteid
* @return bool
*/
abstract public function exists($pasteid);
@ -116,7 +116,7 @@ abstract class privatebin_abstract
* Test if a comment exists.
*
* @access public
* @param string $dataid
* @param string $pasteid
* @param string $parentid
* @param string $commentid
* @return void
@ -158,7 +158,7 @@ abstract class privatebin_abstract
* @access public
* @param array $comments
* @param int|string $postdate
* @return void
* @return int|string
*/
protected function getOpenSlot(&$comments, $postdate)
{

View file

@ -124,7 +124,7 @@ class privatebin_data extends privatebin_abstract
* Test if a paste exists.
*
* @access public
* @param string $dataid
* @param string $pasteid
* @return void
*/
public function exists($pasteid)
@ -197,7 +197,7 @@ class privatebin_data extends privatebin_abstract
* Test if a comment exists.
*
* @access public
* @param string $dataid
* @param string $pasteid
* @param string $parentid
* @param string $commentid
* @return void