fixing copy/paste errors
This commit is contained in:
parent
1e44902340
commit
bd4dee0f3e
2 changed files with 4 additions and 4 deletions
|
@ -430,7 +430,7 @@ class Database extends AbstractData
|
||||||
* @param int $batchsize
|
* @param int $batchsize
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
protected function _getExpiredPastes(int $batchsize)
|
protected function _getExpiredPastes($batchsize)
|
||||||
{
|
{
|
||||||
$pastes = array();
|
$pastes = array();
|
||||||
$rows = self::_select(
|
$rows = self::_select(
|
||||||
|
@ -494,7 +494,7 @@ class Database extends AbstractData
|
||||||
* @param int $version
|
* @param int $version
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
private static function _getVersionedKeys(int $version)
|
private static function _getVersionedKeys($version)
|
||||||
{
|
{
|
||||||
if ($version === 1) {
|
if ($version === 1) {
|
||||||
return array('postdate', 'vizhash');
|
return array('postdate', 'vizhash');
|
||||||
|
|
|
@ -121,7 +121,7 @@ class Filesystem extends AbstractData
|
||||||
* @param string $pasteid
|
* @param string $pasteid
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public functio(($pasteid)
|
public function exists($pasteid)
|
||||||
{
|
{
|
||||||
$basePath = self::_dataid2path($pasteid) . $pasteid;
|
$basePath = self::_dataid2path($pasteid) . $pasteid;
|
||||||
$pastePath = $basePath . '.php';
|
$pastePath = $basePath . '.php';
|
||||||
|
@ -230,7 +230,7 @@ class Filesystem extends AbstractData
|
||||||
* @param int $batchsize
|
* @param int $batchsize
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
protected function _getExpiredPastes(int $batchsize)
|
protected function _getExpiredPastes($batchsize)
|
||||||
{
|
{
|
||||||
$pastes = array();
|
$pastes = array();
|
||||||
$mainpath = DataStore::getPath();
|
$mainpath = DataStore::getPath();
|
||||||
|
|
Loading…
Reference in a new issue