upadted core to 7.69
This commit is contained in:
@@ -5,7 +5,7 @@ version = VERSION
|
||||
core = 7.x
|
||||
hidden = TRUE
|
||||
|
||||
; Information added by Drupal.org packaging script on 2019-05-08
|
||||
version = "7.67"
|
||||
; Information added by Drupal.org packaging script on 2019-12-18
|
||||
version = "7.69"
|
||||
project = "drupal"
|
||||
datestamp = "1557336079"
|
||||
datestamp = "1576696221"
|
||||
|
11
modules/user/tests/user_session_test.info
Normal file
11
modules/user/tests/user_session_test.info
Normal file
@@ -0,0 +1,11 @@
|
||||
name = "User module session tests"
|
||||
description = "Support module for user session testing."
|
||||
package = Testing
|
||||
version = VERSION
|
||||
core = 7.x
|
||||
hidden = TRUE
|
||||
|
||||
; Information added by Drupal.org packaging script on 2019-12-18
|
||||
version = "7.69"
|
||||
project = "drupal"
|
||||
datestamp = "1576696221"
|
29
modules/user/tests/user_session_test.module
Normal file
29
modules/user/tests/user_session_test.module
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Dummy module implementing a page callback to create an anon session.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_menu().
|
||||
*/
|
||||
function user_session_test_menu() {
|
||||
$items = array();
|
||||
$items['user_session_test_anon_session'] = array(
|
||||
'page callback' => 'user_session_test_anon_session',
|
||||
'access callback' => TRUE,
|
||||
);
|
||||
return $items;
|
||||
}
|
||||
|
||||
/**
|
||||
* Page callback.
|
||||
*
|
||||
* Creates an anonymous user session.
|
||||
*/
|
||||
function user_session_test_anon_session() {
|
||||
$data = 'This dummy data will be stored in a user session.';
|
||||
$_SESSION[__FUNCTION__] = $data;
|
||||
return $data;
|
||||
}
|
Reference in New Issue
Block a user