2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
@@ -74,10 +74,6 @@ function tracker_track_user() {
* Menu callback. Prints a listing of active nodes on the site.
*/
functiontracker_page($uid=0){
global$user;
$output.='';
if($uid){
$sql='SELECT DISTINCT(n.nid), n.title, n.type, n.changed, n.uid, u.name, l.last_comment_timestamp AS last_post, l.comment_count FROM {node} n INNER JOIN {node_comment_statistics} l ON n.nid = l.nid INNER JOIN {users} u ON n.uid = u.uid LEFT JOIN {comments} c ON n.nid = c.nid AND (c.status = %d OR c.status IS NULL) WHERE n.status = 1 AND (n.uid = %d OR c.uid = %d) ORDER BY last_post DESC';
$sql=db_rewrite_sql($sql);
...
...
@@ -116,12 +112,10 @@ function tracker_page($uid = 0) {
@@ -74,10 +74,6 @@ function tracker_track_user() {
* Menu callback. Prints a listing of active nodes on the site.
*/
functiontracker_page($uid=0){
global$user;
$output.='';
if($uid){
$sql='SELECT DISTINCT(n.nid), n.title, n.type, n.changed, n.uid, u.name, l.last_comment_timestamp AS last_post, l.comment_count FROM {node} n INNER JOIN {node_comment_statistics} l ON n.nid = l.nid INNER JOIN {users} u ON n.uid = u.uid LEFT JOIN {comments} c ON n.nid = c.nid AND (c.status = %d OR c.status IS NULL) WHERE n.status = 1 AND (n.uid = %d OR c.uid = %d) ORDER BY last_post DESC';
$sql=db_rewrite_sql($sql);
...
...
@@ -116,12 +112,10 @@ function tracker_page($uid = 0) {