Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xautoload
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
xautoload
Commits
3f59b3a6
Commit
3f59b3a6
authored
11 years ago
by
Andreas Hennings
Browse files
Options
Downloads
Patches
Plain Diff
Remove xautoload_FinderPlugin_SkipModuleExists, which would not work anyway.
parent
599222e0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/FinderPlugin/SkipModuleExists.php
+0
-27
0 additions, 27 deletions
lib/FinderPlugin/SkipModuleExists.php
with
0 additions
and
27 deletions
lib/FinderPlugin/SkipModuleExists.php
deleted
100644 → 0
+
0
−
27
View file @
599222e0
<?php
/**
* This class is not used anywhere in xautoload, but could be used by other
* modules.
*/
class
xautoload_FinderPlugin_SkipModuleExists
implements
xautoload_FinderPlugin_Interface
{
/**
* Expect a class Aaa_Bbb_Ccc_Ddd to be in Aaa/Bbb/Ccc/Ddd.php,
* but consider the PHP include_path setting.
*
* @param object $api
* The InjectedAPI object.
* @param string $path_fragment
* First part of the path, for instance "Aaa/Bbb/".
* @param string $path_suffix
* Second part of the path, for instance "Ccc/Ddd.php".
*/
function
findFile
(
$api
,
$path_fragment
,
$path_suffix
)
{
$path
=
$path_fragment
.
$path_suffix
;
if
(
$api
->
suggestFile_skipModuleExists
(
$path
))
{
return
TRUE
;
}
}
}
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