Page MenuHomeWickedGov Phorge

CaptchaHashStore.php
No OneTemporary

Size
574 B
Referenced Files
None
Subscribers
None

CaptchaHashStore.php

<?php
namespace MediaWiki\Extension\ConfirmEdit\Store;
class CaptchaHashStore extends CaptchaStore {
/** @var array */
protected $data = [];
/** @inheritDoc */
public function store( $index, $info ) {
$this->data[$index] = $info;
}
/** @inheritDoc */
public function retrieve( $index ) {
if ( array_key_exists( $index, $this->data ) ) {
return $this->data[$index];
}
return false;
}
/** @inheritDoc */
public function clear( $index ) {
unset( $this->data[$index] );
}
/** @inheritDoc */
public function cookiesNeeded() {
return false;
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, Nov 23, 06:45 (3 d, 14 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
2d/97/f0f5b348e1cf952e1597783bf3bc
Default Alt Text
CaptchaHashStore.php (574 B)

Event Timeline