mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-10-01 01:26:10 -04:00
some minor cleanups
This commit is contained in:
parent
535710cdd6
commit
002046cc62
@ -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])
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ abstract class model_abstract
|
||||
* Get instance data.
|
||||
*
|
||||
* @access public
|
||||
* @return stdObject
|
||||
* @return stdClass
|
||||
*/
|
||||
abstract public function get();
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user