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); this.showStatus(i18n._('Sending paste...'), true);
var randomkey = sjcl.codec.base64.fromBits(sjcl.random.randomWords(8, 0), 0); var randomkey = sjcl.codec.base64.fromBits(sjcl.random.randomWords(8, 0), 0);
var cipherdata_attachment;
var password = this.passwordInput.val(); var password = this.passwordInput.val();
if(files && files[0]) if(files && files[0])
{ {

View File

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

View File

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

View File

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