Changeset 92 for trunk/Application/UpdateTrace.php
- Timestamp:
- Apr 7, 2020, 11:53:58 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/UpdateTrace.php
r81 r92 44 44 'REFERENCES `Measure`(`Id`) ON DELETE RESTRICT ON UPDATE RESTRICT;'); 45 45 $DbResult = $Manager->Execute('SELECT `Id`, `PermissionAdd` FROM `Measure`'); 46 while ($DbRow = $DbResult->fetch_assoc())46 while ($DbRow = $DbResult->fetch_assoc()) 47 47 { 48 48 $Manager->Execute('INSERT INTO `Permission` (`Measure`, `Operation`) VALUES ('. … … 50 50 } 51 51 $DbResult = $Manager->Execute('SELECT `Id`, `PermissionView` FROM `Measure`'); 52 while ($DbRow = $DbResult->fetch_assoc())52 while ($DbRow = $DbResult->fetch_assoc()) 53 53 { 54 54 $Manager->Execute('INSERT INTO `Permission` (`Measure`, `Operation`) VALUES ('. … … 61 61 { 62 62 $DbResult = $Manager->Execute('SELECT `DataTable`,`DataType` FROM `Measure`;'); 63 while ($Measure = $DbResult->fetch_assoc())63 while ($Measure = $DbResult->fetch_assoc()) 64 64 { 65 65 $Table = $Measure['DataTable']; … … 80 80 function Get() 81 81 { 82 return (array(82 return array( 83 83 65 => array('Revision' => 67, 'Function' => 'UpdateTo67'), 84 84 67 => array('Revision' => 79, 'Function' => 'UpdateTo79'), 85 ) );85 ); 86 86 } 87 87 }
Note:
See TracChangeset
for help on using the changeset viewer.