~slub.team/goobi-presentation/1.0

« back to all changes in this revision

Viewing changes to dlf/plugins/metadata/class.tx_dlf_metadata.php

  • Committer: Sebastian Meyer
  • Date: 2011-08-10 13:28:23 UTC
  • mfrom: (30.1.1 bug809828)
  • Revision ID: sebastian.meyer@slub-dresden.de-20110810132823-5zz4ewqip9xazb0u
Fix Bug #809828: Collections with deleted documents can not be re-indexed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
 
54
54
                $this->init($conf);
55
55
 
56
 
                // Quit without doing anything if required piVars are not set.
57
 
                if (!$this->checkPIvars()) {
58
 
 
59
 
                        return $content;
60
 
 
61
 
                }
62
 
 
63
56
                // Load current document.
64
57
                $this->loadDocument();
65
58
 
 
59
                // Quit without doing anything if required variables are not set.
 
60
                if ($this->doc === NULL) {
 
61
 
 
62
                        return $content;
 
63
 
 
64
                }
 
65
 
66
66
                $metadata = array ();
67
67
 
68
68
                if ($this->conf['rootline'] < 2) {