diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-08 11:56:46 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-08 11:56:46 +0000 |
commit | cef25136b69582dc9e6efd95284f4f3e40b7a53f (patch) | |
tree | a4d07b0cbc68fedaf2db4640ba060461bbc9b890 /engine | |
parent | a34f241e00f57035d199a9d40f78a2ab7889a6f1 (diff) | |
download | elgg-cef25136b69582dc9e6efd95284f4f3e40b7a53f.tar.gz elgg-cef25136b69582dc9e6efd95284f4f3e40b7a53f.tar.bz2 |
Removed dummy
git-svn-id: https://code.elgg.org/elgg/trunk@1789 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/dummy.php | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/engine/lib/dummy.php b/engine/lib/dummy.php deleted file mode 100644 index a7f8760e0..000000000 --- a/engine/lib/dummy.php +++ /dev/null @@ -1,29 +0,0 @@ -<?php - /** - * Dummy class. - * This function contains dummy functions and classes which return safe dummy values. Essentially this is - * to make sure that things like calling echo page_owner_entity()->name don't cause a WSoD. - * - * @package Elgg - * @subpackage Core - * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 - * @author Marcus Povey - * @copyright Curverider Ltd 2008 - * @link http://elgg.org/ - */ - - /** - * Dummy class. - * For every function call, get and set this function returns false. - */ - class ElggDummy { - - public function __call($method, $args) { - return false; - } - - function __get($name) { return false; } - - function __set($name, $value) { return false; } - } -?>
\ No newline at end of file |