diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-06-25 08:47:16 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-06-25 08:47:16 -0700 |
| commit | 4502a13a5b67946e798789ff5420877391372fcd (patch) | |
| tree | 00f44704d986ea6b48435ccc7c62ea1745ac3a70 /modules/digibug/models/digibug_proxy.php | |
| parent | d9e4ad79bbebb3f439df4403c668271c86c19935 (diff) | |
1) rename the model proxy to digibug proxy
2) corresponding table name change to digibug_proxies
3) change the generate of a unique id to md5(rand())
3) Remove the helper function as digibug::uuid is no longer required.
Diffstat (limited to 'modules/digibug/models/digibug_proxy.php')
| -rw-r--r-- | modules/digibug/models/digibug_proxy.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/modules/digibug/models/digibug_proxy.php b/modules/digibug/models/digibug_proxy.php new file mode 100644 index 00000000..c76afdae --- /dev/null +++ b/modules/digibug/models/digibug_proxy.php @@ -0,0 +1,22 @@ +<?php defined("SYSPATH") or die("No direct script access."); +/** + * Gallery - a web based photo album viewer and editor + * Copyright (C) 2000-2009 Bharat Mediratta + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or (at + * your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. + */ +class Digibug_Proxy_Model extends ORM { + protected $has_one = array("item"); +} |
