Changeset 479 for trunk/bin/module_maker/skel/admin.php
- Timestamp:
- May 3, 2014 11:09:03 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/module_maker/skel/admin.php
r468 r479 234 234 { 235 235 global $lock; 236 237 236 $db =& DB::getInstance(); 237 $app =& App::getInstance(); 238 238 239 239 $lock->select('%DB_TBL%', '%PRIMARY_KEY%', $id); … … 276 276 global $lock; 277 277 global $cache; 278 279 278 $db =& DB::getInstance(); 279 $app =& App::getInstance(); 280 280 281 281 $lock->select('%DB_TBL%', '%PRIMARY_KEY%', $id); … … 312 312 global $auth; 313 313 global $cache; 314 315 314 $db =& DB::getInstance(); 315 $app =& App::getInstance(); 316 316 317 317 // Remove any stale cached list data. … … 332 332 function updateRecord($frm) 333 333 { 334 335 334 global $auth; 335 global $lock; 336 336 global $cache; 337 338 337 $db =& DB::getInstance(); 338 $app =& App::getInstance(); 339 339 340 340 $lock->select('%DB_TBL%', '%PRIMARY_KEY%', $frm['%PRIMARY_KEY%']); … … 364 364 global $tmp_prefs; 365 365 global $cache; 366 367 366 $db =& DB::getInstance(); 367 $app =& App::getInstance(); 368 368 369 369 $where_clause = ''; … … 443 443 { 444 444 global $cache; 445 446 445 $db =& DB::getInstance(); 446 $app =& App::getInstance(); 447 447 448 448 if (!is_array($ranks)) {
Note: See TracChangeset
for help on using the changeset viewer.