diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2012-12-26 18:55:34 -0800 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2012-12-26 18:55:34 -0800 |
commit | 9edacf1adce95d8aca42180ef5b90f86c0dbfaa1 (patch) | |
tree | c1357ad8912f1d2f2fcd56e2bb20bfe405d44c37 /includes/file.inc | |
parent | 6993acd9a4cadb901c4a2ed532ffcccc700f8fde (diff) | |
download | brdo-9edacf1adce95d8aca42180ef5b90f86c0dbfaa1.tar.gz brdo-9edacf1adce95d8aca42180ef5b90f86c0dbfaa1.tar.bz2 |
Issue #1874342 by erikwebb: Fixed Undefined constant STEAM_WRAPPERS_LOCAL used in file_get_stream_wrappers() documentation.
Diffstat (limited to 'includes/file.inc')
-rw-r--r-- | includes/file.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/file.inc b/includes/file.inc index 278be3ddc..c65d6e97c 100644 --- a/includes/file.inc +++ b/includes/file.inc @@ -89,7 +89,7 @@ define('FILE_STATUS_PERMANENT', 1); * wrappers that are appropriate for particular usage. For example, this returns * only stream wrappers that use local file storage: * @code - * $local_stream_wrappers = file_get_stream_wrappers(STEAM_WRAPPERS_LOCAL); + * $local_stream_wrappers = file_get_stream_wrappers(STREAM_WRAPPERS_LOCAL); * @endcode * * The $filter parameter can only filter to types containing a particular flag. @@ -99,7 +99,7 @@ define('FILE_STATUS_PERMANENT', 1); * array_diff_key() function can be used to help with this. For example, this * returns only stream wrappers that do not use local file storage: * @code - * $remote_stream_wrappers = array_diff_key(file_get_stream_wrappers(STREAM_WRAPPERS_ALL), file_get_stream_wrappers(STEAM_WRAPPERS_LOCAL)); + * $remote_stream_wrappers = array_diff_key(file_get_stream_wrappers(STREAM_WRAPPERS_ALL), file_get_stream_wrappers(STREAM_WRAPPERS_LOCAL)); * @endcode * * @param $filter |