Commit c9cfc873 authored by Tibor Katelbach's avatar Tibor Katelbach

tweak

parent bf2f216b
......@@ -67,6 +67,8 @@ class DatamigrationController extends CommunecterController {
public function actionActionWithnoAnswer(){
if( Role::isSuperAdmin(Role::getRolesUserId(Yii::app()->session["userId"]))){
$projects=PHDB::find(Project::COLLECTION, array("source.key"=>"ctenat", "category"=>"ficheAction"), array("links", "name","creator"));
$answers = PHDB::find(Form::ANSWER_COLLECTION, array("source.key"=>"ctenat","answers"=>['$exists'=>0]));
echo "<b style='color:red'>Empty Answers count : ".count($answers)."</b><br/><br/>";
$creators=[];
$projectNoAnswers = [];
$countAnswer=count($projects);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment