fixing copy/paste errors

This commit is contained in:
El RIDO
2019-05-10 21:52:14 +02:00
parent 1e44902340
commit bd4dee0f3e
2 changed files with 4 additions and 4 deletions

View File

@@ -121,7 +121,7 @@ class Filesystem extends AbstractData
* @param string $pasteid
* @return bool
*/
public functio(($pasteid)
public function exists($pasteid)
{
$basePath = self::_dataid2path($pasteid) . $pasteid;
$pastePath = $basePath . '.php';
@@ -230,7 +230,7 @@ class Filesystem extends AbstractData
* @param int $batchsize
* @return array
*/
protected function _getExpiredPastes(int $batchsize)
protected function _getExpiredPastes($batchsize)
{
$pastes = array();
$mainpath = DataStore::getPath();