mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-30 18:24:31 +00:00
Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: https://develop.svn.wordpress.org/trunk@4495 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -65,7 +65,7 @@ class WP_Object_Cache {
|
||||
var $secret = '';
|
||||
|
||||
function acquire_lock() {
|
||||
// Acquire a write lock.
|
||||
// Acquire a write lock.
|
||||
$this->mutex = @fopen($this->cache_dir.$this->flock_filename, 'w');
|
||||
if ( false == $this->mutex)
|
||||
return false;
|
||||
@@ -237,11 +237,11 @@ class WP_Object_Cache {
|
||||
while ($index < count($stack)) {
|
||||
# Get indexed directory from stack
|
||||
$dir = $stack[$index];
|
||||
|
||||
|
||||
$dh = @ opendir($dir);
|
||||
if (!$dh)
|
||||
return false;
|
||||
|
||||
|
||||
while (($file = @ readdir($dh)) !== false) {
|
||||
if ($file == '.' or $file == '..')
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user