@@ 242-247 (lines=6) @@ | ||
239 | $row['phash'] = $this->encode($row['parent_id']); |
|
240 | } |
|
241 | ||
242 | if ($row['mime'] == 'directory') { |
|
243 | unset($row['width']); |
|
244 | unset($row['height']); |
|
245 | } else { |
|
246 | unset($row['dirs']); |
|
247 | } |
|
248 | ||
249 | unset($row['id']); |
|
250 | unset($row['parent_id']); |
|
@@ 372-377 (lines=6) @@ | ||
369 | } |
|
370 | $row['path'] = $this->_path($id); |
|
371 | ||
372 | if ($row['mime'] == 'directory') { |
|
373 | unset($row['width']); |
|
374 | unset($row['height']); |
|
375 | } else { |
|
376 | unset($row['dirs']); |
|
377 | } |
|
378 | ||
379 | unset($row['id']); |
|
380 | unset($row['parent_id']); |
|
@@ 537-542 (lines=6) @@ | ||
534 | if ($stat['parent_id']) { |
|
535 | $stat['phash'] = $this->encode($stat['parent_id']); |
|
536 | } |
|
537 | if ($stat['mime'] == 'directory') { |
|
538 | unset($stat['width']); |
|
539 | unset($stat['height']); |
|
540 | } else { |
|
541 | unset($stat['dirs']); |
|
542 | } |
|
543 | unset($stat['id']); |
|
544 | unset($stat['parent_id']); |
|
545 | return $stat; |