Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge branch 'patch-1' of https://github.com/stealth35/zf2 into hotfi…
Browse files Browse the repository at this point in the history
…x/php-53-updates
  • Loading branch information
weierophinney committed May 20, 2011
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Storage/Writable/Maildir.php
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,8 @@ public function renameFolder($oldName, $newName)
protected function _createUniqueId()
{
$id = '';
$id .= function_exists('microtime') ? microtime(true) : (time() . ' ' . rand(0, 100000));
$id .= '.' . (function_exists('posix_getpid') ? posix_getpid() : rand(50, 65535));
$id .= microtime(true);
$id .= '.' . getmypid();
$id .= '.' . php_uname('n');

return $id;
Expand Down

0 comments on commit ea99bf1

Please sign in to comment.