User Tools

Site Tools


stats:proc:createemptystats

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
stats:proc:createemptystats [2011/09/29 00:36] – Patrick Michelstats:proc:createemptystats [2013/07/10 12:39] (current) – external edit 127.0.0.1
Line 5: Line 5:
   remove /stats; # procedures only operate on valid documents, so we have to get rid of "whatever was there" before   remove /stats; # procedures only operate on valid documents, so we have to get rid of "whatever was there" before
   insert /    insert / 
-    <stats> +    <stats revision="0"> 
-      <accounts> +      <account username="admin" lastName="admin" firstName="admin" email="admin@stats.system" password="some hash of 'admin'"> 
-        <account username="admin" lastName="admin" firstName="admin" email="admin@stats.system" password="some hash of 'admin'"> +        <admin /> 
-          <admin /> +      </account>
-        </account> +
-      </accounts> +
-      <exercises /> +
-      <exams />+
     </stats>;     </stats>;
-} # roles: NONE+}
 </code> </code>
  
stats/proc/createemptystats.1317249380.txt.gz · Last modified: by Patrick Michel

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki