Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
1fe8d6b1
Commit
1fe8d6b1
authored
Mar 05, 2002
by
Kjartan
Browse files
- more typo bugs.
parent
e3d2c46f
Changes
3
Hide whitespace changes
Inline
Side-by-side
modules/user.module
View file @
1fe8d6b1
...
...
@@ -484,7 +484,7 @@ function user_block() {
// Who's online block
$time
=
60
*
60
;
// minutes * seconds
$limit
=
0
;
// List the X most recent people
$limit
=
5
;
// List the X most recent people
$result
=
db_query
(
"SELECT uid, name FROM users WHERE timestamp > unix_timestamp() - (
$time
) ORDER BY timestamp DESC LIMIT
$limit
"
);
...
...
modules/user/user.module
View file @
1fe8d6b1
...
...
@@ -484,7 +484,7 @@ function user_block() {
// Who's online block
$time
=
60
*
60
;
// minutes * seconds
$limit
=
0
;
// List the X most recent people
$limit
=
5
;
// List the X most recent people
$result
=
db_query
(
"SELECT uid, name FROM users WHERE timestamp > unix_timestamp() - (
$time
) ORDER BY timestamp DESC LIMIT
$limit
"
);
...
...
update.php
View file @
1fe8d6b1
...
...
@@ -334,7 +334,7 @@ function update_22() {
}
function
update_23
()
{
update_sql
(
"CREATE TABLE search_index (word varchar(50) default NULL, lno int(10) unsigned default NULL, type varchar(16) default NULL, count int(10) unsigned default NULL, KEY lno (lno), KEY word (word);"
);
update_sql
(
"CREATE TABLE search_index (word varchar(50) default NULL, lno int(10) unsigned default NULL, type varchar(16) default NULL, count int(10) unsigned default NULL, KEY lno (lno), KEY word (word)
)
;"
);
}
/*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment