remove extra spaces

This commit is contained in:
Isaac Connor 2018-04-28 12:32:21 -04:00
parent 06fed41d5a
commit ecf8003aef
1 changed files with 2 additions and 2 deletions

View File

@ -124,7 +124,7 @@ public static function find_all( $parameters = null, $options = null ) {
return $usage; return $usage;
} }
public function disk_total_space() { public function disk_total_space() {
if ( ! array_key_exists( 'disk_total_space', $this ) ) { if ( ! array_key_exists('disk_total_space', $this ) ) {
$this->{'disk_total_space'} = disk_total_space( $this->Path() ); $this->{'disk_total_space'} = disk_total_space( $this->Path() );
} }
return $this->{'disk_total_space'}; return $this->{'disk_total_space'};
@ -142,7 +142,7 @@ public static function find_all( $parameters = null, $options = null ) {
} }
} else { } else {
$path = $this->Path(); $path = $this->Path();
$used = disk_total_space( $path ) - disk_free_space( $path );; $used = disk_total_space($path) - disk_free_space($path);
} }
$this->{'DiskSpace'} = $used; $this->{'DiskSpace'} = $used;
} }