Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
21 lines (20 loc) · 622 Bytes

File metadata and controls

21 lines (20 loc) · 622 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
class ProcessWireUpgradeCheckConfig extends ModuleConfig {
public function __construct() {
$this->add(array(
array(
'name' => 'useLoginHook',
'type' => 'radios',
'label' => $this->_('Check for upgrades on superuser login?'),
'description' => $this->_('If "No" is selected, then upgrades will only be checked manually when you click to Setup > Upgrades.'),
'notes' => $this->_('Automatic upgrade check requires ProcessWire 2.5.20 or newer.'),
'options' => array(
1 => $this->_('Yes'),
0 => $this->_('No')
),
'optionColumns' => 1,
'value' => 0
)
));
}
}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.