User Tools

Site Tools


stats:proc:createemptystats

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

stats:proc:createemptystats [2011/09/28 21:53]
Patrick Michel created
stats:proc:createemptystats [2013/07/10 12:39]
Line 1: Line 1:
-====== Create Empty Stat System ====== 
- 
-<code xcend> 
-createEmptyStats() { 
-  remove /stats; 
-  insert /  
-    <​stats>​ 
-      <​accounts>​ 
-        <account username="​admin"​ lastName="​admin"​ firstName="​admin"​ email="​admin@stats.system"​ password="​some hash of '​admin'">​ 
-          <admin /> 
-        </​account>​ 
-      </​accounts>​ 
-      <​exercises /> 
-      <exams /> 
-    </​stats>;​ 
-} 
-</​code>​ 
  
stats/proc/createemptystats.txt ยท Last modified: 2013/07/10 12:39 (external edit)