Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F7468806
CaptchaHashStore.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
574 B
Referenced Files
None
Subscribers
None
CaptchaHashStore.php
View Options
<?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
Details
Attached
Mime Type
text/x-php
Expires
Mon, Nov 23, 06:45 (3 d, 15 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
2d/97/f0f5b348e1cf952e1597783bf3bc
Default Alt Text
CaptchaHashStore.php (574 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment