Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
unused_modules
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
unused_modules
Commits
2344bb4f
Commit
2344bb4f
authored
10 years ago
by
git
Committed by
Niels de Feyter
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#2419399
by eurotrash: Undefined property Notice
parent
a645edfd
Branches
Branches containing commit
Tags
7.x-1.2
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
unused_modules.module
+1
-1
1 addition, 1 deletion
unused_modules.module
with
1 addition
and
1 deletion
unused_modules.module
+
1
−
1
View file @
2344bb4f
...
...
@@ -294,7 +294,7 @@ function _unused_modules_add_project_path(&$modules) {
// Determine common basepath by looking for needle "/<project>/" in uri.
// As a fallback use the shortest path method.
foreach
(
$project
as
$module
)
{
if
(
$module
->
error
!==
TRUE
)
{
if
(
isset
(
$module
->
error
)
&&
$module
->
error
!==
TRUE
)
{
$needle
=
"/"
.
$module
->
project
.
"/"
;
$before_needle
=
TRUE
;
$project_path
=
strstr
(
$module
->
uri
,
$needle
,
$before_needle
)
.
"/"
.
$module
->
project
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment