Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* origin/pr/12581: Check current "created" value as suggested by @Mark-H Add `createdon` date field to modUser (cf. #11472)
- Loading branch information
Showing
11 changed files
with
77 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
/** | ||
* Common upgrade script for 2.5 modUser | ||
* | ||
* @var modX $modx | ||
* @package setup | ||
*/ | ||
|
||
/* add modUser.createdon field */ | ||
$class = 'modUser'; | ||
$table = $modx->getTableName($class); | ||
|
||
$description = $this->install->lexicon('add_column',array('column' => 'createdon','table' => $table)); | ||
$this->processResults($class, $description, array($modx->manager, 'addField'), array($class, 'createdon')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
/*1 | ||
* Specific upgrades for Revolution 2.5.0-pl | ||
* | ||
* @var modX $modx | ||
* @package setup | ||
* @subpackage upgrades | ||
*/ | ||
|
||
/* run upgrades common to all db platforms */ | ||
include dirname(dirname(__FILE__)) . '/common/2.5-user-createdon.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
/*1 | ||
* Specific upgrades for Revolution 2.5.0-pl | ||
* | ||
* @var modX $modx | ||
* @package setup | ||
* @subpackage upgrades | ||
*/ | ||
|
||
/* run upgrades common to all db platforms */ | ||
include dirname(dirname(__FILE__)) . '/common/2.5-user-createdon.php'; |