aboutsummaryrefslogtreecommitdiff
path: root/engine/classes
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-15 01:05:45 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-15 01:05:45 +0000
commit9ce11d138f9868b872fe8206dbc3c2f44723605a (patch)
tree273a2aed762c62eea3ac329649b42326a2d91438 /engine/classes
parent76e70b79acc60358a7225c0976fd6b7f2fe3c74f (diff)
downloadelgg-9ce11d138f9868b872fe8206dbc3c2f44723605a.tar.gz
elgg-9ce11d138f9868b872fe8206dbc3c2f44723605a.tar.bz2
Fixes #2808: elgg_get_array_value => elgg_extract
git-svn-id: http://code.elgg.org/elgg/trunk@8247 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/classes')
-rw-r--r--engine/classes/ElggBatch.php4
-rw-r--r--engine/classes/ElggPluginManifest.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/engine/classes/ElggBatch.php b/engine/classes/ElggBatch.php
index a5051d16a..5c2172ae7 100644
--- a/engine/classes/ElggBatch.php
+++ b/engine/classes/ElggBatch.php
@@ -164,8 +164,8 @@ class ElggBatch
}
// store these so we can compare later
- $this->offset = elgg_get_array_value('offset', $options, 0);
- $this->limit = elgg_get_array_value('limit', $options, 10);
+ $this->offset = elgg_extract('offset', $options, 0);
+ $this->limit = elgg_extract('limit', $options, 10);
// if passed a callback, create a new ElggBatch with the same options
// and pass each to the callback.
diff --git a/engine/classes/ElggPluginManifest.php b/engine/classes/ElggPluginManifest.php
index e230cd3f2..fae12de10 100644
--- a/engine/classes/ElggPluginManifest.php
+++ b/engine/classes/ElggPluginManifest.php
@@ -659,7 +659,7 @@ class ElggPluginManifest {
$return = array();
foreach ($struct as $index => $default) {
- $return[$index] = elgg_get_array_value($index, $array, $default);
+ $return[$index] = elgg_extract($index, $array, $default);
}
return $return;