mirror of
https://github.com/humhub/humhub.git
synced 2025-01-18 06:38:14 +01:00
🎨 TRUE, FALSE and NULL must be lowercase
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
b75a4f3db5
commit
cb18f55240
@ -85,7 +85,7 @@ class OnlineModuleManager
|
||||
if (file_exists($downloadTargetFileName)) {
|
||||
$zip = new ZipArchive;
|
||||
$res = $zip->open($downloadTargetFileName);
|
||||
if ($res === TRUE) {
|
||||
if ($res === true) {
|
||||
$zip->extractTo($modulePath);
|
||||
$zip->close();
|
||||
} else {
|
||||
|
@ -18,7 +18,7 @@
|
||||
* GNU Affero General Public License for more details.
|
||||
*/
|
||||
return [
|
||||
['id' => '1', 'space_id' => 1, 'name' => 'Administrator', 'description' => 'Administrator Group', 'created_at' => '2014-08-30 14:03:49', 'created_by' => NULL, 'updated_at' => NULL, 'updated_by' => NULL, 'ldap_dn' => NULL, 'is_admin_group' => 1],
|
||||
['id' => '2', 'space_id' => 1, 'name' => 'Users', 'description' => 'Example Group by Installer', 'created_at' => '2014-08-30 14:03:49', 'created_by' => NULL, 'updated_at' => NULL, 'updated_by' => NULL, 'ldap_dn' => NULL],
|
||||
['id' => '3', 'space_id' => 1, 'name' => 'Manager', 'description' => 'Manager Group', 'created_at' => '2014-08-30 14:03:49', 'created_by' => NULL, 'updated_at' => NULL, 'updated_by' => NULL, 'ldap_dn' => NULL]
|
||||
['id' => '1', 'space_id' => 1, 'name' => 'Administrator', 'description' => 'Administrator Group', 'created_at' => '2014-08-30 14:03:49', 'created_by' => null, 'updated_at' => null, 'updated_by' => null, 'ldap_dn' => null, 'is_admin_group' => 1],
|
||||
['id' => '2', 'space_id' => 1, 'name' => 'Users', 'description' => 'Example Group by Installer', 'created_at' => '2014-08-30 14:03:49', 'created_by' => null, 'updated_at' => null, 'updated_by' => null, 'ldap_dn' => null],
|
||||
['id' => '3', 'space_id' => 1, 'name' => 'Manager', 'description' => 'Manager Group', 'created_at' => '2014-08-30 14:03:49', 'created_by' => null, 'updated_at' => null, 'updated_by' => null, 'ldap_dn' => null]
|
||||
];
|
||||
|
@ -61,7 +61,7 @@ use yii\widgets\ActiveForm;
|
||||
'label' => Yii::t('AdminModule.user', 'Last login'),
|
||||
'options' => ['style' => 'width:120px;'],
|
||||
'value' => function ($data) {
|
||||
return ($data->last_login == NULL) ? Yii::t('AdminModule.user', 'never') : Yii::$app->formatter->asDate($data->last_login);
|
||||
return ($data->last_login == null) ? Yii::t('AdminModule.user', 'never') : Yii::$app->formatter->asDate($data->last_login);
|
||||
}
|
||||
],
|
||||
['class' => UserActionColumn::class],
|
||||
|
@ -18,16 +18,16 @@
|
||||
* GNU Affero General Public License for more details.
|
||||
*/
|
||||
return array(
|
||||
array('id' => '1', 'message_2trash' => NULL, 'message' => 'User 1 Profile Post Private', 'url' => NULL, 'created_at' => '2014-08-08 05:36:06', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:06', 'updated_by' => '1'),
|
||||
array('id' => '2', 'message_2trash' => NULL, 'message' => 'User 1 Profile Post Public', 'url' => NULL, 'created_at' => '2014-08-08 05:36:06', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:06', 'updated_by' => '1'),
|
||||
array('id' => '3', 'message_2trash' => NULL, 'message' => 'User 2 Profile Post Private', 'url' => NULL, 'created_at' => '2014-08-08 05:36:06', 'created_by' => '2', 'updated_at' => '2014-08-08 05:36:06', 'updated_by' => '2'),
|
||||
array('id' => '4', 'message_2trash' => NULL, 'message' => 'User 2 Profile Post Public', 'url' => NULL, 'created_at' => '2014-08-08 05:36:06', 'created_by' => '2', 'updated_at' => '2014-08-08 05:36:06', 'updated_by' => '2'),
|
||||
array('id' => '5', 'message_2trash' => NULL, 'message' => 'User 3 Profile Post Private', 'url' => NULL, 'created_at' => '2014-08-08 05:36:06', 'created_by' => '3', 'updated_at' => '2014-08-08 05:36:06', 'updated_by' => '3'),
|
||||
array('id' => '6', 'message_2trash' => NULL, 'message' => 'User 3 Profile Post Public', 'url' => NULL, 'created_at' => '2014-08-08 05:36:06', 'created_by' => '3', 'updated_at' => '2014-08-08 05:36:06', 'updated_by' => '3'),
|
||||
array('id' => '7', 'message_2trash' => NULL, 'message' => 'User 1 Space 1 Post Public ', 'url' => NULL, 'created_at' => '2014-08-08 05:36:06', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:06', 'updated_by' => '1'),
|
||||
array('id' => '8', 'message_2trash' => NULL, 'message' => 'User 1 Space 1 Post Private ', 'url' => NULL, 'created_at' => '2014-08-08 05:36:06', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:06', 'updated_by' => '1'),
|
||||
array('id' => '9', 'message_2trash' => NULL, 'message' => 'User 3 Space 1 Post Public ', 'url' => NULL, 'created_at' => '2014-08-08 05:36:06', 'created_by' => '3', 'updated_at' => '2014-08-08 05:36:06', 'updated_by' => '3'),
|
||||
array('id' => '1', 'message_2trash' => null, 'message' => 'User 1 Profile Post Private', 'url' => null, 'created_at' => '2014-08-08 05:36:06', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:06', 'updated_by' => '1'),
|
||||
array('id' => '2', 'message_2trash' => null, 'message' => 'User 1 Profile Post Public', 'url' => null, 'created_at' => '2014-08-08 05:36:06', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:06', 'updated_by' => '1'),
|
||||
array('id' => '3', 'message_2trash' => null, 'message' => 'User 2 Profile Post Private', 'url' => null, 'created_at' => '2014-08-08 05:36:06', 'created_by' => '2', 'updated_at' => '2014-08-08 05:36:06', 'updated_by' => '2'),
|
||||
array('id' => '4', 'message_2trash' => null, 'message' => 'User 2 Profile Post Public', 'url' => null, 'created_at' => '2014-08-08 05:36:06', 'created_by' => '2', 'updated_at' => '2014-08-08 05:36:06', 'updated_by' => '2'),
|
||||
array('id' => '5', 'message_2trash' => null, 'message' => 'User 3 Profile Post Private', 'url' => null, 'created_at' => '2014-08-08 05:36:06', 'created_by' => '3', 'updated_at' => '2014-08-08 05:36:06', 'updated_by' => '3'),
|
||||
array('id' => '6', 'message_2trash' => null, 'message' => 'User 3 Profile Post Public', 'url' => null, 'created_at' => '2014-08-08 05:36:06', 'created_by' => '3', 'updated_at' => '2014-08-08 05:36:06', 'updated_by' => '3'),
|
||||
array('id' => '7', 'message_2trash' => null, 'message' => 'User 1 Space 1 Post Public ', 'url' => null, 'created_at' => '2014-08-08 05:36:06', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:06', 'updated_by' => '1'),
|
||||
array('id' => '8', 'message_2trash' => null, 'message' => 'User 1 Space 1 Post Private ', 'url' => null, 'created_at' => '2014-08-08 05:36:06', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:06', 'updated_by' => '1'),
|
||||
array('id' => '9', 'message_2trash' => null, 'message' => 'User 3 Space 1 Post Public ', 'url' => null, 'created_at' => '2014-08-08 05:36:06', 'created_by' => '3', 'updated_at' => '2014-08-08 05:36:06', 'updated_by' => '3'),
|
||||
|
||||
array('id' => '10', 'message_2trash' => NULL, 'message' => 'User 2 Space 2 Post Public', 'url' => NULL, 'created_at' => '2014-08-08 05:36:06', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:06', 'updated_by' => '1'),
|
||||
array('id' => '11', 'message_2trash' => NULL, 'message' => 'User 2 Space 2 Post Private', 'url' => NULL, 'created_at' => '2014-08-08 05:36:06', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:06', 'updated_by' => '1'),
|
||||
array('id' => '10', 'message_2trash' => null, 'message' => 'User 2 Space 2 Post Public', 'url' => null, 'created_at' => '2014-08-08 05:36:06', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:06', 'updated_by' => '1'),
|
||||
array('id' => '11', 'message_2trash' => null, 'message' => 'User 2 Space 2 Post Private', 'url' => null, 'created_at' => '2014-08-08 05:36:06', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:06', 'updated_by' => '1'),
|
||||
);
|
||||
|
@ -139,7 +139,7 @@ class ImageController extends Controller
|
||||
$type = Yii::$app->request->get('type', 'profile');
|
||||
$json = array('type' => $type);
|
||||
|
||||
$image = NULL;
|
||||
$image = null;
|
||||
if ($type == 'profile') {
|
||||
$image = new ProfileImage($space->guid, 'default_space');
|
||||
} elseif ($type == 'banner') {
|
||||
|
@ -18,8 +18,8 @@
|
||||
* GNU Affero General Public License for more details.
|
||||
*/
|
||||
return array(
|
||||
array('id' => '1', 'guid' => '5396d499-20d6-4233-800b-c6c86e5fa34a', 'name' => 'Space 1', 'contentcontainer_id' => '4', 'description' => 'Space by Admin', 'join_policy' => '1', 'visibility' => '2', 'status' => '1', 'tags' => NULL, 'created_at' => '2014-08-08 05:36:04', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:04', 'updated_by' => '1', 'ldap_dn' => NULL, 'auto_add_new_members' => '0'),
|
||||
array('id' => '2', 'guid' => '5396d499-20d6-4233-800b-c6c86e5fa34b', 'name' => 'Space 2', 'contentcontainer_id' => '5', 'description' => 'User 1 Space', 'join_policy' => '2', 'visibility' => '2', 'status' => '1', 'tags' => NULL, 'created_at' => '2014-08-08 05:36:04', 'created_by' => '2', 'updated_at' => '2014-08-08 05:36:04', 'updated_by' => '2', 'ldap_dn' => NULL, 'auto_add_new_members' => '0'),
|
||||
array('id' => '3', 'guid' => '5396d499-20d6-4233-800b-c6c86e5fa34c', 'name' => 'Space 3', 'contentcontainer_id' => '6', 'description' => 'Another User 1 Space', 'join_policy' => '2', 'visibility' => '2', 'status' => '1', 'tags' => NULL, 'created_at' => '2014-08-08 05:36:04', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:04', 'updated_by' => '2', 'ldap_dn' => NULL, 'auto_add_new_members' => '1'),
|
||||
array('id' => '4', 'guid' => '5396d499-20d6-4233-800b-c6c86e5fa34d', 'name' => 'Space 4', 'contentcontainer_id' => '7', 'description' => 'User 1/2 Space', 'join_policy' => '2', 'visibility' => '2', 'status' => '1', 'tags' => NULL, 'created_at' => '2014-08-08 05:36:04', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:04', 'updated_by' => '2', 'ldap_dn' => NULL, 'auto_add_new_members' => '1')
|
||||
array('id' => '1', 'guid' => '5396d499-20d6-4233-800b-c6c86e5fa34a', 'name' => 'Space 1', 'contentcontainer_id' => '4', 'description' => 'Space by Admin', 'join_policy' => '1', 'visibility' => '2', 'status' => '1', 'tags' => null, 'created_at' => '2014-08-08 05:36:04', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:04', 'updated_by' => '1', 'ldap_dn' => null, 'auto_add_new_members' => '0'),
|
||||
array('id' => '2', 'guid' => '5396d499-20d6-4233-800b-c6c86e5fa34b', 'name' => 'Space 2', 'contentcontainer_id' => '5', 'description' => 'User 1 Space', 'join_policy' => '2', 'visibility' => '2', 'status' => '1', 'tags' => null, 'created_at' => '2014-08-08 05:36:04', 'created_by' => '2', 'updated_at' => '2014-08-08 05:36:04', 'updated_by' => '2', 'ldap_dn' => null, 'auto_add_new_members' => '0'),
|
||||
array('id' => '3', 'guid' => '5396d499-20d6-4233-800b-c6c86e5fa34c', 'name' => 'Space 3', 'contentcontainer_id' => '6', 'description' => 'Another User 1 Space', 'join_policy' => '2', 'visibility' => '2', 'status' => '1', 'tags' => null, 'created_at' => '2014-08-08 05:36:04', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:04', 'updated_by' => '2', 'ldap_dn' => null, 'auto_add_new_members' => '1'),
|
||||
array('id' => '4', 'guid' => '5396d499-20d6-4233-800b-c6c86e5fa34d', 'name' => 'Space 4', 'contentcontainer_id' => '7', 'description' => 'User 1/2 Space', 'join_policy' => '2', 'visibility' => '2', 'status' => '1', 'tags' => null, 'created_at' => '2014-08-08 05:36:04', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:04', 'updated_by' => '2', 'ldap_dn' => null, 'auto_add_new_members' => '1')
|
||||
);
|
||||
|
@ -20,20 +20,20 @@
|
||||
return array(
|
||||
|
||||
// User 1 & 3 are Member of Space 1
|
||||
array('space_id' => '1', 'user_id' => '1', 'originator_user_id' => NULL, 'status' => '3', 'request_message' => NULL, 'last_visit' => '2014-08-08 06:49:57', 'group_id' => 'admin', 'created_at' => '2014-08-08 05:36:05', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:05', 'updated_by' => '1'),
|
||||
array('space_id' => '1', 'user_id' => '3', 'originator_user_id' => NULL, 'status' => '3', 'request_message' => NULL, 'last_visit' => NULL, 'group_id' => 'member', 'created_at' => '2014-08-10 16:55:41', 'created_by' => NULL, 'updated_at' => NULL, 'updated_by' => NULL),
|
||||
array('space_id' => '1', 'user_id' => '1', 'originator_user_id' => null, 'status' => '3', 'request_message' => null, 'last_visit' => '2014-08-08 06:49:57', 'group_id' => 'admin', 'created_at' => '2014-08-08 05:36:05', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:05', 'updated_by' => '1'),
|
||||
array('space_id' => '1', 'user_id' => '3', 'originator_user_id' => null, 'status' => '3', 'request_message' => null, 'last_visit' => null, 'group_id' => 'member', 'created_at' => '2014-08-10 16:55:41', 'created_by' => null, 'updated_at' => null, 'updated_by' => null),
|
||||
|
||||
// User 2 is Member/Admin of Space 2
|
||||
array('space_id' => '2', 'user_id' => '2', 'originator_user_id' => NULL, 'status' => '3', 'request_message' => NULL, 'last_visit' => '2014-08-08 06:49:57', 'group_id' => 'admin', 'created_at' => '2014-08-08 05:36:05', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:05', 'updated_by' => '1'),
|
||||
array('space_id' => '2', 'user_id' => '2', 'originator_user_id' => null, 'status' => '3', 'request_message' => null, 'last_visit' => '2014-08-08 06:49:57', 'group_id' => 'admin', 'created_at' => '2014-08-08 05:36:05', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:05', 'updated_by' => '1'),
|
||||
|
||||
// User 1 is admin of space 3 and user 2 & 3 are members
|
||||
array('space_id' => '3', 'user_id' => '1', 'originator_user_id' => NULL, 'status' => '3', 'request_message' => NULL, 'last_visit' => '2014-08-08 06:49:57', 'group_id' => 'admin', 'created_at' => '2014-08-08 05:36:05', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:05', 'updated_by' => '1'),
|
||||
array('space_id' => '3', 'user_id' => '2', 'originator_user_id' => NULL, 'status' => '3', 'send_notifications' => '1', 'request_message' => NULL, 'last_visit' => NULL, 'group_id' => 'member', 'created_at' => '2014-08-10 16:55:41', 'created_by' => NULL, 'updated_at' => NULL, 'updated_by' => NULL),
|
||||
array('space_id' => '3', 'user_id' => '3', 'originator_user_id' => NULL, 'status' => '3', 'request_message' => NULL, 'last_visit' => '2014-08-08 06:49:57', 'group_id' => 'moderator', 'created_at' => '2014-08-08 05:36:05', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:05', 'updated_by' => '1'),
|
||||
array('space_id' => '3', 'user_id' => '1', 'originator_user_id' => null, 'status' => '3', 'request_message' => null, 'last_visit' => '2014-08-08 06:49:57', 'group_id' => 'admin', 'created_at' => '2014-08-08 05:36:05', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:05', 'updated_by' => '1'),
|
||||
array('space_id' => '3', 'user_id' => '2', 'originator_user_id' => null, 'status' => '3', 'send_notifications' => '1', 'request_message' => null, 'last_visit' => null, 'group_id' => 'member', 'created_at' => '2014-08-10 16:55:41', 'created_by' => null, 'updated_at' => null, 'updated_by' => null),
|
||||
array('space_id' => '3', 'user_id' => '3', 'originator_user_id' => null, 'status' => '3', 'request_message' => null, 'last_visit' => '2014-08-08 06:49:57', 'group_id' => 'moderator', 'created_at' => '2014-08-08 05:36:05', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:05', 'updated_by' => '1'),
|
||||
|
||||
// User 1/2 is admin of space 3 and user 3 is members
|
||||
array('space_id' => '4', 'user_id' => '1', 'originator_user_id' => NULL, 'status' => '3', 'request_message' => NULL, 'last_visit' => '2014-08-08 06:49:57', 'group_id' => 'admin', 'created_at' => '2014-08-08 05:36:05', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:05', 'updated_by' => '1'),
|
||||
array('space_id' => '4', 'user_id' => '2', 'originator_user_id' => NULL, 'status' => '3', 'request_message' => NULL, 'last_visit' => NULL, 'group_id' => 'admin', 'created_at' => '2014-08-10 16:55:41', 'created_by' => NULL, 'updated_at' => NULL, 'updated_by' => NULL),
|
||||
array('space_id' => '4', 'user_id' => '3', 'originator_user_id' => NULL, 'status' => '3', 'request_message' => NULL, 'last_visit' => '2014-08-08 06:49:57', 'group_id' => 'member', 'created_at' => '2014-08-08 05:36:05', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:05', 'updated_by' => '1'),
|
||||
array('space_id' => '4', 'user_id' => '1', 'originator_user_id' => null, 'status' => '3', 'request_message' => null, 'last_visit' => '2014-08-08 06:49:57', 'group_id' => 'admin', 'created_at' => '2014-08-08 05:36:05', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:05', 'updated_by' => '1'),
|
||||
array('space_id' => '4', 'user_id' => '2', 'originator_user_id' => null, 'status' => '3', 'request_message' => null, 'last_visit' => null, 'group_id' => 'admin', 'created_at' => '2014-08-10 16:55:41', 'created_by' => null, 'updated_at' => null, 'updated_by' => null),
|
||||
array('space_id' => '4', 'user_id' => '3', 'originator_user_id' => null, 'status' => '3', 'request_message' => null, 'last_visit' => '2014-08-08 06:49:57', 'group_id' => 'member', 'created_at' => '2014-08-08 05:36:05', 'created_by' => '1', 'updated_at' => '2014-08-08 05:36:05', 'updated_by' => '1'),
|
||||
|
||||
);
|
||||
|
@ -18,7 +18,7 @@
|
||||
* GNU Affero General Public License for more details.
|
||||
*/
|
||||
return array(
|
||||
array('id' => '1', 'space_id' => 1, 'name' => 'Administrator', 'description' => 'Administrator Group', 'created_at' => '2014-08-30 14:03:49', 'created_by' => NULL, 'updated_at' => NULL, 'updated_by' => NULL, 'ldap_dn' => NULL, 'is_admin_group' => 1),
|
||||
array('id' => '2', 'space_id' => 1, 'name' => 'Users', 'description' => 'Example Group by Installer', 'created_at' => '2014-08-30 14:03:49', 'created_by' => NULL, 'updated_at' => NULL, 'updated_by' => NULL, 'ldap_dn' => NULL),
|
||||
array('id' => '3', 'space_id' => 1, 'name' => 'Moderators', 'description' => 'Example Moderator group', 'created_at' => '2014-08-30 14:03:49', 'created_by' => NULL, 'updated_at' => NULL, 'updated_by' => NULL, 'ldap_dn' => NULL)
|
||||
array('id' => '1', 'space_id' => 1, 'name' => 'Administrator', 'description' => 'Administrator Group', 'created_at' => '2014-08-30 14:03:49', 'created_by' => null, 'updated_at' => null, 'updated_by' => null, 'ldap_dn' => null, 'is_admin_group' => 1),
|
||||
array('id' => '2', 'space_id' => 1, 'name' => 'Users', 'description' => 'Example Group by Installer', 'created_at' => '2014-08-30 14:03:49', 'created_by' => null, 'updated_at' => null, 'updated_by' => null, 'ldap_dn' => null),
|
||||
array('id' => '3', 'space_id' => 1, 'name' => 'Moderators', 'description' => 'Example Moderator group', 'created_at' => '2014-08-30 14:03:49', 'created_by' => null, 'updated_at' => null, 'updated_by' => null, 'ldap_dn' => null)
|
||||
);
|
||||
|
@ -18,8 +18,8 @@
|
||||
* GNU Affero General Public License for more details.
|
||||
*/
|
||||
return [
|
||||
['id' => 1, 'user_id' => 1, 'group_id' => 1, 'created_at' => '2014-08-30 14:03:49', 'created_by' => NULL, 'updated_at' => NULL, 'updated_by' => NULL],
|
||||
['id' => 2, 'user_id' => 2, 'group_id' => 2, 'created_at' => '2014-08-30 14:03:49', 'created_by' => NULL, 'updated_at' => NULL, 'updated_by' => NULL],
|
||||
['id' => 3, 'user_id' => 3, 'group_id' => 3, 'is_group_manager' => '1', 'created_at' => '2014-08-30 14:03:49', 'created_by' => NULL, 'updated_at' => NULL, 'updated_by' => NULL],
|
||||
['id' => 4, 'user_id' => 6, 'group_id' => 3, 'created_at' => '2014-08-30 14:03:49', 'created_by' => NULL, 'updated_at' => NULL, 'updated_by' => NULL]
|
||||
['id' => 1, 'user_id' => 1, 'group_id' => 1, 'created_at' => '2014-08-30 14:03:49', 'created_by' => null, 'updated_at' => null, 'updated_by' => null],
|
||||
['id' => 2, 'user_id' => 2, 'group_id' => 2, 'created_at' => '2014-08-30 14:03:49', 'created_by' => null, 'updated_at' => null, 'updated_by' => null],
|
||||
['id' => 3, 'user_id' => 3, 'group_id' => 3, 'is_group_manager' => '1', 'created_at' => '2014-08-30 14:03:49', 'created_by' => null, 'updated_at' => null, 'updated_by' => null],
|
||||
['id' => 4, 'user_id' => 6, 'group_id' => 3, 'created_at' => '2014-08-30 14:03:49', 'created_by' => null, 'updated_at' => null, 'updated_by' => null]
|
||||
];
|
||||
|
@ -19,11 +19,11 @@
|
||||
*/
|
||||
return array(
|
||||
// Working Users
|
||||
array('id' => 1, 'guid' => '01e50e0d-82cd-41fc-8b0c-552392f5839c', 'status' => '1','username' => 'Admin', 'email' => 'admin@example.com', 'contentcontainer_id' => 1, 'auth_mode' => 'local', 'tags' => NULL, 'language' => 'en', 'created_at' => '2014-08-08 05:36:02', 'created_by' => NULL, 'updated_at' => '2014-08-08 05:36:19', 'updated_by' => '1', 'last_login' => '2014-08-05 05:36:16'),
|
||||
array('id' => 2, 'guid' => '01e50e0d-82cd-41fc-8b0c-552392f5839d', 'status' => '1','username' => 'User1', 'email' => 'user1@example.com', 'contentcontainer_id' => 2, 'auth_mode' => 'local', 'tags' => NULL, 'language' => 'en', 'created_at' => '2014-08-08 05:36:02', 'created_by' => NULL, 'updated_at' => '2014-08-08 05:36:19', 'updated_by' => '1', 'last_login' => '2014-08-06 05:36:16'),
|
||||
array('id' => 3, 'guid' => '01e50e0d-82cd-41fc-8b0c-552392f5839e', 'status' => '1','username' => 'User2', 'email' => 'user2@example.com', 'contentcontainer_id' => 3, 'auth_mode' => 'local', 'tags' => NULL, 'language' => 'en', 'created_at' => '2014-08-08 05:36:02', 'created_by' => NULL, 'updated_at' => '2014-08-08 05:36:19', 'updated_by' => '1', 'last_login' => '2014-08-07 05:36:16'),
|
||||
array('id' => 4, 'guid' => '01e50e0d-82cd-41fc-8b0c-552392f5839f', 'status' => '1','username' => 'User3', 'email' => 'user3@example.com', 'contentcontainer_id' => 8, 'auth_mode' => 'local', 'tags' => NULL, 'language' => 'en', 'created_at' => '2014-08-08 05:36:02', 'created_by' => NULL, 'updated_at' => '2014-08-08 05:36:19', 'updated_by' => '1', 'last_login' => '2014-08-07 05:36:16'),
|
||||
array('id' => 5, 'guid' => '01e50e0d-82cd-41fc-8b0c-552392f5839g', 'status' => '0','username' => 'DisabledUser', 'email' => 'disabled@example.com', 'contentcontainer_id' => 9, 'auth_mode' => 'local', 'tags' => NULL, 'language' => 'en', 'created_at' => '2014-08-08 05:36:02', 'created_by' => NULL, 'updated_at' => '2014-08-08 05:36:19', 'updated_by' => '1', 'last_login' => '2014-08-07 05:36:16'),
|
||||
array('id' => 6, 'guid' => '01e50e0d-82cd-41fc-8b0c-552392f5839h', 'status' => '2','username' => 'UnapprovedUser', 'email' => 'unnapproved@example.com', 'contentcontainer_id' => 10, 'auth_mode' => 'local', 'tags' => NULL, 'language' => 'en', 'created_at' => '2014-08-08 05:36:02', 'created_by' => NULL, 'updated_at' => '2014-08-08 05:36:19', 'updated_by' => '1', 'last_login' => '2014-08-07 05:36:16'),
|
||||
array('id' => 7, 'guid' => '01e50e0d-82cd-41fc-8b0c-552392f5839i', 'status' => '2','username' => 'UnapprovedNoGroup', 'email' => 'unnapprovedNoGroup@example.com', 'contentcontainer_id' => 11, 'auth_mode' => 'local', 'tags' => NULL, 'language' => 'en', 'created_at' => '2014-08-08 05:36:02', 'created_by' => NULL, 'updated_at' => '2014-08-08 05:36:19', 'updated_by' => '1', 'last_login' => '2014-08-07 05:36:16'),
|
||||
array('id' => 1, 'guid' => '01e50e0d-82cd-41fc-8b0c-552392f5839c', 'status' => '1','username' => 'Admin', 'email' => 'admin@example.com', 'contentcontainer_id' => 1, 'auth_mode' => 'local', 'tags' => null, 'language' => 'en', 'created_at' => '2014-08-08 05:36:02', 'created_by' => null, 'updated_at' => '2014-08-08 05:36:19', 'updated_by' => '1', 'last_login' => '2014-08-05 05:36:16'),
|
||||
array('id' => 2, 'guid' => '01e50e0d-82cd-41fc-8b0c-552392f5839d', 'status' => '1','username' => 'User1', 'email' => 'user1@example.com', 'contentcontainer_id' => 2, 'auth_mode' => 'local', 'tags' => null, 'language' => 'en', 'created_at' => '2014-08-08 05:36:02', 'created_by' => null, 'updated_at' => '2014-08-08 05:36:19', 'updated_by' => '1', 'last_login' => '2014-08-06 05:36:16'),
|
||||
array('id' => 3, 'guid' => '01e50e0d-82cd-41fc-8b0c-552392f5839e', 'status' => '1','username' => 'User2', 'email' => 'user2@example.com', 'contentcontainer_id' => 3, 'auth_mode' => 'local', 'tags' => null, 'language' => 'en', 'created_at' => '2014-08-08 05:36:02', 'created_by' => null, 'updated_at' => '2014-08-08 05:36:19', 'updated_by' => '1', 'last_login' => '2014-08-07 05:36:16'),
|
||||
array('id' => 4, 'guid' => '01e50e0d-82cd-41fc-8b0c-552392f5839f', 'status' => '1','username' => 'User3', 'email' => 'user3@example.com', 'contentcontainer_id' => 8, 'auth_mode' => 'local', 'tags' => null, 'language' => 'en', 'created_at' => '2014-08-08 05:36:02', 'created_by' => null, 'updated_at' => '2014-08-08 05:36:19', 'updated_by' => '1', 'last_login' => '2014-08-07 05:36:16'),
|
||||
array('id' => 5, 'guid' => '01e50e0d-82cd-41fc-8b0c-552392f5839g', 'status' => '0','username' => 'DisabledUser', 'email' => 'disabled@example.com', 'contentcontainer_id' => 9, 'auth_mode' => 'local', 'tags' => null, 'language' => 'en', 'created_at' => '2014-08-08 05:36:02', 'created_by' => null, 'updated_at' => '2014-08-08 05:36:19', 'updated_by' => '1', 'last_login' => '2014-08-07 05:36:16'),
|
||||
array('id' => 6, 'guid' => '01e50e0d-82cd-41fc-8b0c-552392f5839h', 'status' => '2','username' => 'UnapprovedUser', 'email' => 'unnapproved@example.com', 'contentcontainer_id' => 10, 'auth_mode' => 'local', 'tags' => null, 'language' => 'en', 'created_at' => '2014-08-08 05:36:02', 'created_by' => null, 'updated_at' => '2014-08-08 05:36:19', 'updated_by' => '1', 'last_login' => '2014-08-07 05:36:16'),
|
||||
array('id' => 7, 'guid' => '01e50e0d-82cd-41fc-8b0c-552392f5839i', 'status' => '2','username' => 'UnapprovedNoGroup', 'email' => 'unnapprovedNoGroup@example.com', 'contentcontainer_id' => 11, 'auth_mode' => 'local', 'tags' => null, 'language' => 'en', 'created_at' => '2014-08-08 05:36:02', 'created_by' => null, 'updated_at' => '2014-08-08 05:36:19', 'updated_by' => '1', 'last_login' => '2014-08-07 05:36:16'),
|
||||
);
|
||||
|
@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
return array(
|
||||
array('user_id' => '1', 'module_id' => 'core', 'name' => 'globalSetting', 'value' => 'abc', 'created_at' => NULL, 'created_by' => NULL, 'updated_at' => NULL, 'updated_by' => NULL),
|
||||
array('user_id' => '1', 'module_id' => 'someModule', 'name' => 'moduleSetting', 'value' => 'cba', 'created_at' => NULL, 'created_by' => NULL, 'updated_at' => NULL, 'updated_by' => NULL),
|
||||
array('user_id' => '2', 'module_id' => 'core', 'name' => 'globalSetting', 'value' => 'xxx', 'created_at' => NULL, 'created_by' => NULL, 'updated_at' => NULL, 'updated_by' => NULL),
|
||||
array('user_id' => '2', 'module_id' => 'someModule', 'name' => 'moduleSetting', 'value' => 'yyy', 'created_at' => NULL, 'created_by' => NULL, 'updated_at' => NULL, 'updated_by' => NULL)
|
||||
array('user_id' => '1', 'module_id' => 'core', 'name' => 'globalSetting', 'value' => 'abc', 'created_at' => null, 'created_by' => null, 'updated_at' => null, 'updated_by' => null),
|
||||
array('user_id' => '1', 'module_id' => 'someModule', 'name' => 'moduleSetting', 'value' => 'cba', 'created_at' => null, 'created_by' => null, 'updated_at' => null, 'updated_by' => null),
|
||||
array('user_id' => '2', 'module_id' => 'core', 'name' => 'globalSetting', 'value' => 'xxx', 'created_at' => null, 'created_by' => null, 'updated_at' => null, 'updated_by' => null),
|
||||
array('user_id' => '2', 'module_id' => 'someModule', 'name' => 'moduleSetting', 'value' => 'yyy', 'created_at' => null, 'created_by' => null, 'updated_at' => null, 'updated_by' => null)
|
||||
);
|
||||
|
@ -32,6 +32,6 @@
|
||||
'params' =>
|
||||
array (
|
||||
'config_created_at' => 1509135303,
|
||||
'horImageScrollOnMobile' => NULL,
|
||||
'horImageScrollOnMobile' => null,
|
||||
),
|
||||
); ?>
|
Loading…
x
Reference in New Issue
Block a user