update core to 7.36
This commit is contained in:
@@ -59,7 +59,7 @@ function statistics_recent_hits() {
|
||||
* statistics settings form, but is dependent on cron running.
|
||||
*
|
||||
* @return
|
||||
* A render array containing information about the the top pages.
|
||||
* A render array containing information about the top pages.
|
||||
*/
|
||||
function statistics_top_pages() {
|
||||
$header = array(
|
||||
@@ -137,7 +137,8 @@ function statistics_top_visitors() {
|
||||
->groupBy('u.name')
|
||||
->groupBy('bl.iid')
|
||||
->limit(30)
|
||||
->orderByHeader($header);
|
||||
->orderByHeader($header)
|
||||
->orderBy('a.hostname');
|
||||
|
||||
$uniques_query = db_select('accesslog')->distinct();
|
||||
$uniques_query->fields('accesslog', array('uid', 'hostname'));
|
||||
|
@@ -6,8 +6,8 @@ core = 7.x
|
||||
files[] = statistics.test
|
||||
configure = admin/config/system/statistics
|
||||
|
||||
; Information added by Drupal.org packaging script on 2014-05-08
|
||||
version = "7.28"
|
||||
; Information added by Drupal.org packaging script on 2015-04-02
|
||||
version = "7.36"
|
||||
project = "drupal"
|
||||
datestamp = "1399522731"
|
||||
datestamp = "1427943826"
|
||||
|
||||
|
@@ -414,7 +414,7 @@ class StatisticsAdminTestCase extends DrupalWebTestCase {
|
||||
$timestamp = time();
|
||||
$this->drupalPost(NULL, NULL, t('Cancel account'));
|
||||
// Confirm account cancellation request.
|
||||
$this->drupalGet("user/$account->uid/cancel/confirm/$timestamp/" . user_pass_rehash($account->pass, $timestamp, $account->login));
|
||||
$this->drupalGet("user/$account->uid/cancel/confirm/$timestamp/" . user_pass_rehash($account->pass, $timestamp, $account->login, $account->uid));
|
||||
$this->assertFalse(user_load($account->uid, TRUE), 'User is not found in the database.');
|
||||
|
||||
$this->drupalGet('admin/reports/visitors');
|
||||
|
Reference in New Issue
Block a user