|
@@ -5370,7 +5370,6 @@ discard block |
|
|
block discarded – undo |
|
5370
|
5370
|
|
|
5371
|
5371
|
/** |
|
5372
|
5372
|
* Tries different modes to make file/dirs writable. Wrapper function for chmod() |
|
5373
|
|
- |
|
5374
|
5373
|
* @param string $file The file/dir full path. |
|
5375
|
5374
|
* @param int $value Not needed, added for legacy reasons. |
|
5376
|
5375
|
* @return boolean true if the file/dir is already writable or the function was able to make it writable, false if the function couldn't make the file/dir writable. |
|
@@ -5410,7 +5409,6 @@ discard block |
|
|
block discarded – undo |
|
5410
|
5409
|
|
|
5411
|
5410
|
/** |
|
5412
|
5411
|
* Wrapper function for json_decode() with error handling. |
|
5413
|
|
- |
|
5414
|
5412
|
* @param string $json The string to decode. |
|
5415
|
5413
|
* @param bool $returnAsArray To return the decoded string as an array or an object, SMF only uses Arrays but to keep on compatibility with json_decode its set to false as default. |
|
5416
|
5414
|
* @param bool $logIt To specify if the error will be logged if theres any. |
Please login to merge, or discard this patch.