Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use basename() instead of self implementation #7260

Merged
merged 1 commit into from
Nov 23, 2017

Conversation

MorrisJobke
Copy link
Member

I tried this by keeping the unit tests and they still succeed if I would just use the native basename() method.

@icewind1991 Does that make sense?

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Copy link
Member

@LukasReschke LukasReschke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. As per owncloud/core#4227 this just seemed to be there for Windows.

@MorrisJobke MorrisJobke added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Nov 23, 2017
@codecov
Copy link

codecov bot commented Nov 23, 2017

Codecov Report

Merging #7260 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #7260      +/-   ##
============================================
- Coverage     50.86%   50.86%   -0.01%     
+ Complexity    24551    24550       -1     
============================================
  Files          1585     1585              
  Lines         93815    93811       -4     
  Branches       1354     1354              
============================================
- Hits          47720    47716       -4     
  Misses        46095    46095
Impacted Files Coverage Δ Complexity Δ
lib/private/legacy/util.php 58.43% <ø> (-0.29%) 224 <0> (-1)
lib/private/Files/Cache/Cache.php 82.14% <100%> (ø) 103 <0> (ø) ⬇️

@MorrisJobke MorrisJobke merged commit 2f3484b into master Nov 23, 2017
@MorrisJobke MorrisJobke deleted the cleanup-unused-code branch November 23, 2017 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish technical debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants