改名
This commit is contained in:
@@ -169,22 +169,6 @@ class Snowflake
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @throws Exception
|
||||
*/
|
||||
public static function clearWorkerId()
|
||||
{
|
||||
$dir = storage(null, 'worker');
|
||||
foreach (glob($dir . '/*') as $file) {
|
||||
clearstatcache();
|
||||
if (!file_exists($file)) {
|
||||
continue;
|
||||
}
|
||||
@unlink($file);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param $fileName
|
||||
* @param $content
|
||||
|
||||
Reference in New Issue
Block a user