Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
92852753
Commit
92852753
authored
Oct 09, 2003
by
Dries Buytaert
Browse files
- Small code improvement
parent
d2175fdc
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/common.inc
View file @
92852753
...
...
@@ -39,10 +39,7 @@ function drupal_get_path_map($action = "") {
}
if
(
!
$cache
)
{
if
(
!
$result
)
{
$result
=
db_query
(
"SELECT * FROM
{
path
}
"
);
}
$result
=
db_query
(
"SELECT * FROM
{
path
}
"
);
while
(
$data
=
db_fetch_object
(
$result
))
{
$map
[
$data
->
dst
]
=
$data
->
src
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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